function Composer::generateComponentPackages
Same name in other branches
- 10 composer/Composer.php \Drupal\Composer\Composer::generateComponentPackages()
- 11.x composer/Composer.php \Drupal\Composer\Composer::generateComponentPackages()
Update component packages whenever composer.lock is updated.
Parameters
\Composer\Script\Event $event: The Composer event.
File
-
composer/
Composer.php, line 41
Class
- Composer
- Provides static functions for composer script events.
Namespace
Drupal\ComposerCode
public static function generateComponentPackages(Event $event) : void {
$generator = new ComponentGenerator();
$generator->generate($event, getcwd());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.