function ComposerPluginImplementsScaffoldEvents::getSubscribedEvents
Same name in other branches
- 10 core/tests/Drupal/Tests/Composer/Plugin/Scaffold/fixtures/composer-plugin-implements-scaffold-events/src/ComposerPluginImplementsScaffoldEvents.php \Drupal\Tests\fixture\Composer\Plugin\ComposerPluginImplementsScaffoldEvents::getSubscribedEvents()
File
-
core/
tests/ Drupal/ Tests/ Composer/ Plugin/ Scaffold/ fixtures/ composer-plugin-implements-scaffold-events/ src/ ComposerPluginImplementsScaffoldEvents.php, line 22
Class
- ComposerPluginImplementsScaffoldEvents
- A fixture composer plugin implement Drupal scaffold events.
Namespace
Drupal\Tests\fixture\Composer\PluginCode
public static function getSubscribedEvents() : array {
return [
Handler::PRE_DRUPAL_SCAFFOLD_CMD => 'preDrupalScaffoldCmd',
Handler::POST_DRUPAL_SCAFFOLD_CMD => 'postDrupalScaffoldCmd',
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.