function Plugin::getSubscribedEvents
File
- 
              composer/Plugin/ Scaffold/ Plugin.php, line 85 
Class
- Plugin
- Composer plugin for handling drupal scaffold.
Namespace
Drupal\Composer\Plugin\ScaffoldCode
public static function getSubscribedEvents() {
  // Important note: We only instantiate our handler on "post" events.
  return [
    ScriptEvents::POST_UPDATE_CMD => 'postCmd',
    ScriptEvents::POST_INSTALL_CMD => 'postCmd',
    PackageEvents::POST_PACKAGE_INSTALL => 'postPackage',
    PluginEvents::COMMAND => 'onCommand',
  ];
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
