Add field for requirements view, version bump
This commit is contained in:
parent
5539640080
commit
f36e8626c5
2 changed files with 18 additions and 1 deletions
17
settings.php
17
settings.php
|
@ -84,4 +84,21 @@ if ($hassiteconfig) {
|
||||||
// This is the type of Parameter this config is
|
// This is the type of Parameter this config is
|
||||||
PARAM_TEXT
|
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
|
||||||
|
));
|
||||||
}
|
}
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
defined('MOODLE_INTERNAL') || die();
|
defined('MOODLE_INTERNAL') || die();
|
||||||
|
|
||||||
$plugin->version = "2022112700";
|
$plugin->version = "2022112800";
|
||||||
$plugin->component = 'local_adonis';
|
$plugin->component = 'local_adonis';
|
||||||
$plugin->maturity = MATURITY_ALPHA;
|
$plugin->maturity = MATURITY_ALPHA;
|
||||||
$plugin->release = 'v0.0.1';
|
$plugin->release = 'v0.0.1';
|
||||||
|
|
Loading…
Reference in a new issue