function Plugin::postPackage

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

Post package event behavior.

Parameters

\Composer\Installer\PackageEvent $event: Composer package event sent on install/update/remove.

File

composer/Plugin/Scaffold/Plugin.php, line 111

Class

Plugin
Composer plugin for handling drupal scaffold.

Namespace

Drupal\Composer\Plugin\Scaffold

Code

public function postPackage(PackageEvent $event) {
    $this->handler()
        ->onPostPackageEvent($event);
}

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