function ComposerPluginImplementsScaffoldEvents::preDrupalScaffoldCmd

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

Implements pre Drupal scaffold cmd.

File

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

Class

ComposerPluginImplementsScaffoldEvents
A fixture composer plugin implement Drupal scaffold events.

Namespace

Drupal\Tests\fixture\Composer\Plugin

Code

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

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