moodle/mod/subsection/version.php
Mikel Martín c4470cc7f9 MDL-81767 mod_subsection: Add hook for activitychooserbutton
- Add the new 'FEATURE_QUICKCREATE' to mod_subsection.
- Implement the 'before_activitychooserbutton_exported' hook callback that adds
  an extra action_link to add subsections in a course section.
- Add a new permission class.
2024-09-03 13:35:04 +02:00

32 lines
1.1 KiB
PHP

<?php
// This file is part of Moodle - https://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <https://www.gnu.org/licenses/>.
/**
* Plugin version and other meta-data are defined here.
*
* @package mod_subsection
* @copyright 2023 Amaia Anabitarte <amaia@moodle.com>
* @license https://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
defined('MOODLE_INTERNAL') || die();
$plugin->component = 'mod_subsection';
$plugin->release = '0.1.0';
$plugin->version = 2024080800;
$plugin->requires = 2024070500;
$plugin->maturity = MATURITY_ALPHA;