. /** * Plugin entrypoint for columns. * * @package qbank_deletequestion * @copyright 2021 Catalyst IT Australia Pty Ltd * @author Safat Shahin * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ namespace qbank_deletequestion; use core_question\local\bank\bulk_action_base; use core_question\local\bank\plugin_features_base; /** * Class columns is the entrypoint for the columns. * * @package qbank_deletequestion * @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_feature extends plugin_features_base { public function get_question_columns($qbank): array { return [ new delete_action_column($qbank), ]; } public function get_bulk_actions(): array { return [ new bulk_delete_action(), ]; } }