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

Breadcrumb

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

ConsoleEvents::COMMAND

The COMMAND event allows you to attach listeners before any command is executed by the console. It also allows you to modify the command, input and output before they are handed to the command.

Plugin annotation

@Event("Symfony\\Component\\Console\\Event\\ConsoleCommandEvent");

File

vendor/symfony/console/ConsoleEvents.php, line 33

Class

ConsoleEvents
Contains all events dispatched by an Application.

Namespace

Symfony\Component\Console

Code

public const COMMAND = 'console.command';

API Navigation

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