You are here

EventSubscriber.php in Drupal 9

File

core/modules/system/tests/modules/module_install_class_loader_test2/src/EventSubscriber.php
View source
<?php

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() {
    return [];
  }

}

Classes

Namesort descending Description
EventSubscriber An event subscriber that does nothing.