function MessagePlugin::activate

Same name in other branches
  1. 9 composer/Plugin/ProjectMessage/MessagePlugin.php \Drupal\Composer\Plugin\ProjectMessage\MessagePlugin::activate()
  2. 8.9.x composer/Plugin/ProjectMessage/MessagePlugin.php \Drupal\Composer\Plugin\ProjectMessage\MessagePlugin::activate()
  3. 10 composer/Plugin/ProjectMessage/MessagePlugin.php \Drupal\Composer\Plugin\ProjectMessage\MessagePlugin::activate()

File

composer/Plugin/ProjectMessage/MessagePlugin.php, line 43

Class

MessagePlugin
A Composer plugin to display a message after creating a project.

Namespace

Drupal\Composer\Plugin\ProjectMessage

Code

public function activate(Composer $composer, IOInterface $io) {
    $this->composer = $composer;
    $this->io = $io;
}

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