Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. VendorHardeningPlugin.php

function VendorHardeningPlugin::onPostPackageInstall

POST_PACKAGE_INSTALL event handler.

Parameters

\Composer\Installer\PackageEvent $event: The package event.

File

composer/Plugin/VendorHardening/VendorHardeningPlugin.php, line 148

Class

VendorHardeningPlugin
A Composer plugin to clean out your project's vendor directory.

Namespace

Drupal\Composer\Plugin\VendorHardening

Code

public function onPostPackageInstall(PackageEvent $event) : void {
    $this->cleanPackage($event->getOperation()
        ->getPackage());
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal