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

Breadcrumb

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

PluginEvents::PRE_COMMAND_RUN

The PRE_COMMAND_RUN event occurs before a command is executed and lets you modify the input arguments/options

The event listener method receives a Composer\Plugin\PreCommandRunEvent instance.

File

vendor/composer/composer/src/Composer/Plugin/PluginEvents.php, line 70

Class

PluginEvents
The Plugin Events.

Namespace

Composer\Plugin

Code

public const PRE_COMMAND_RUN = 'pre-command-run';
RSS feed
Powered by Drupal