isRegistered('taoQtiTest/runner/plugins/content/itemScrolling/itemScrolling')) { $registry->register(TestPlugin::fromArray([ 'id' => 'itemScrolling', 'name' => 'Item Scrolling', 'module' => 'taoQtiTest/runner/plugins/content/itemScrolling/itemScrolling', 'description' => 'Add behavior from enable/disable scrolling option', 'category' => 'content', 'active' => true, 'tags' => [ ] ])); } } public function down(Schema $schema): void { $registry = PluginRegistry::getRegistry(); if ($registry->isRegistered('taoQtiTest/runner/plugins/content/itemScrolling/itemScrolling')) { $registry->remove('taoQtiTest/runner/plugins/content/itemScrolling/itemScrolling'); } } }