Skip to content

Commit

Permalink
Make XML export ready for current 5.0dev version.
Browse files Browse the repository at this point in the history
  • Loading branch information
srobotta committed Dec 6, 2024
1 parent 448f8a8 commit 1c278c6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions classes/plugin_feature.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

namespace qbank_bulkxmlexport;
use core_question\local\bank\plugin_features_base;
use core_question\local\bank\view;

/**
* Class plugin_feature is the entrypoint for the features.
Expand All @@ -31,9 +32,9 @@ class plugin_feature extends plugin_features_base {
*
* @return bulk_action_base[]
*/
public function get_bulk_actions(): array {
public function get_bulk_actions(view $view): array {
return [
new xmlexport(),
new xmlexport($view),
];
}
}
4 changes: 2 additions & 2 deletions classes/xmlexport.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.

namespace qbank_bulkxmlexport;

use core_question\local\bank\bulk_action_base;
/**
* Class bulk_move_action is the base class for moving questions.
*
* @package qbank_bulkxmlexport
* @copyright 2024 Stephan Robotta
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class xmlexport extends \core_question\local\bank\bulk_action_base {
class xmlexport extends bulk_action_base {

/**
* The key for the action.
Expand Down

0 comments on commit 1c278c6

Please sign in to comment.