EventSubscriber.php
Namespace
Drupal\module_install_class_loader_test2File
-
core/
modules/ system/ tests/ modules/ module_install_class_loader_test2/ src/ EventSubscriber.php
View source
<?php
declare (strict_types=1);
namespace Drupal\module_install_class_loader_test2;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
/**
* An event subscriber that does nothing.
*/
class EventSubscriber implements EventSubscriberInterface {
/**
* {@inheritdoc}
*/
public static function getSubscribedEvents() : array {
return [];
}
}
Classes
| Title | Deprecated | Summary |
|---|---|---|
| EventSubscriber | An event subscriber that does nothing. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.