. /** * Base class class for qbank plugins. * * Every qbank plugin must extent this class. * * @package core_question * @copyright 2021 Catalyst IT Australia Pty Ltd * @author Safat Shahin * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ namespace core_question\local\bank; /** * Class plugin_features_base is the base class for qbank plugins. * * @package core_question * @copyright 2021 Catalyst IT Australia Pty Ltd * @author Safat Shahin * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class plugin_features_base { /** * This method will return the array of objects to be rendered as a prt of question bank columns/actions. * * @param view $qbank * @return array */ public function get_question_columns(view $qbank): ?array { return []; } /** * This method will return the object for the navigation node. * * @return null|object */ public function get_navigation_node(): ?object { return null; } }