function ConsoleSubscriber::getSubscribedEvents
File
-
core/
lib/ Drupal/ Core/ Command/ EventSubscriber/ ConsoleSubscriber.php, line 41
Class
- ConsoleSubscriber
- Set a logger so that log messages appear in console output.
Namespace
Drupal\Core\Command\EventSubscriberCode
public static function getSubscribedEvents() : array {
$events[ConsoleEvents::COMMAND][] = [
'onCommand',
500,
];
return $events;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.