function ComposerPluginImplementsScaffoldEvents::postDrupalScaffoldCmd

Same name in other branches
  1. 10 core/tests/Drupal/Tests/Composer/Plugin/Scaffold/fixtures/composer-plugin-implements-scaffold-events/src/ComposerPluginImplementsScaffoldEvents.php \Drupal\Tests\fixture\Composer\Plugin\ComposerPluginImplementsScaffoldEvents::postDrupalScaffoldCmd()

Implements post Drupal scaffold cmd.

File

core/tests/Drupal/Tests/Composer/Plugin/Scaffold/fixtures/composer-plugin-implements-scaffold-events/src/ComposerPluginImplementsScaffoldEvents.php, line 39

Class

ComposerPluginImplementsScaffoldEvents
A fixture composer plugin implement Drupal scaffold events.

Namespace

Drupal\Tests\fixture\Composer\Plugin

Code

public static function postDrupalScaffoldCmd(Event $event) : void {
    $event->getIO()
        ->write('Hello postDrupalScaffoldCmd');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.