diff --git a/db/tag.php b/db/tag.php new file mode 100644 index 0000000..021025e --- /dev/null +++ b/db/tag.php @@ -0,0 +1,36 @@ +. + +/** + * Tag area definitions for Imagehub + * + * Documentation: {@link https://moodledev.io/docs/apis/subsystems/tag} + * + * @package repository_imagehub + * @copyright 2024 ISB Bayern + * @author Paola Maneggia + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ + +defined('MOODLE_INTERNAL') || die(); + +$tagareas = [ + [ + 'itemtype' => 'repository_imagehub', + 'component' => 'repository_imagehub', + 'collection' => 'repository_imagehub_standard_collection', + ], +]; diff --git a/lang/en/repository_imagehub.php b/lang/en/repository_imagehub.php index 1c7ba18..3e59975 100644 --- a/lang/en/repository_imagehub.php +++ b/lang/en/repository_imagehub.php @@ -30,3 +30,5 @@ $string['imagehub:view'] = 'View Imagehub repository'; $string['pluginname'] = 'Imagehub'; $string['privacy:metadata'] = 'The Imagehub plugin doesn\'t store any personal data.'; +$string['tagarea_repository_imagehub'] = 'Repository imagehug'; +$string['tagcollection_repository_imagehub_standard_collection'] = 'Tagcollection repository imagehub standard collection'; diff --git a/version.php b/version.php index 7755c1e..58cbce1 100644 --- a/version.php +++ b/version.php @@ -27,7 +27,7 @@ $plugin->component = 'repository_imagehub'; $plugin->release = '1.0'; -$plugin->version = 2024071500; +$plugin->version = 2024071504; $plugin->requires = 2024042200; $plugin->supported = [404, 405]; $plugin->maturity = MATURITY_STABLE;