Add field for requirements view, version bump

This commit is contained in:
Kumi 2022-11-28 07:31:20 +00:00
parent 5539640080
commit f36e8626c5
Signed by: kumi
GPG key ID: ECBCC9082395383F
2 changed files with 18 additions and 1 deletions

View file

@ -84,4 +84,21 @@ if ($hassiteconfig) {
// This is the type of Parameter this config is
PARAM_TEXT
));
$settings->add(new admin_setting_configtext(
// This is the reference you will use to your configuration
'local_adonis/requirements_view',
// This is the friendly title for the config, which will be displayed
'Requirements Vide',
// This is helper text for this config field
'ID of the view containing crew requirements',
// This is the default value
'ABC123',
// This is the type of Parameter this config is
PARAM_TEXT
));
}

View file

@ -2,7 +2,7 @@
defined('MOODLE_INTERNAL') || die();
$plugin->version = "2022112700";
$plugin->version = "2022112800";
$plugin->component = 'local_adonis';
$plugin->maturity = MATURITY_ALPHA;
$plugin->release = 'v0.0.1';