function VendorHardeningPlugin::onPostAutoloadDump
Same name in other branches
- 9 composer/Plugin/VendorHardening/VendorHardeningPlugin.php \Drupal\Composer\Plugin\VendorHardening\VendorHardeningPlugin::onPostAutoloadDump()
- 8.9.x composer/Plugin/VendorHardening/VendorHardeningPlugin.php \Drupal\Composer\Plugin\VendorHardening\VendorHardeningPlugin::onPostAutoloadDump()
- 11.x composer/Plugin/VendorHardening/VendorHardeningPlugin.php \Drupal\Composer\Plugin\VendorHardening\VendorHardeningPlugin::onPostAutoloadDump()
POST_AUTOLOAD_DUMP event handler.
Parameters
\Composer\Script\Event $event: The Composer event.
File
-
composer/
Plugin/ VendorHardening/ VendorHardeningPlugin.php, line 102
Class
- VendorHardeningPlugin
- A Composer plugin to clean out your project's vendor directory.
Namespace
Drupal\Composer\Plugin\VendorHardeningCode
public function onPostAutoloadDump(Event $event) {
$this->writeAccessRestrictionFiles($this->composer
->getConfig()
->get('vendor-dir'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.