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

Breadcrumb

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

function VendorHardeningPlugin::onPostAutoloadDump

POST_AUTOLOAD_DUMP event handler.

Parameters

\Composer\Script\Event $event: The Composer event.

File

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

Class

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

Namespace

Drupal\Composer\Plugin\VendorHardening

Code

public function onPostAutoloadDump(Event $event) : void {
    $this->writeAccessRestrictionFiles($this->composer
        ->getConfig()
        ->get('vendor-dir'));
}

API Navigation

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