You are here

class CerSubscriber in Corresponding Entity References 8.4

The Event Subscriber for Corresponding References.

Hierarchy

  • class \Drupal\cer\EventSubscriber\CerSubscriber implements \Symfony\Component\EventDispatcher\EventSubscriberInterface

Expanded class hierarchy of CerSubscriber

1 string reference to 'CerSubscriber'
cer.services.yml in ./cer.services.yml
cer.services.yml
1 service uses CerSubscriber
cer.cer_subscriber in ./cer.services.yml
Drupal\cer\EventSubscriber\CerSubscriber

File

src/EventSubscriber/CerSubscriber.php, line 10

Namespace

Drupal\cer\EventSubscriber
View source
class CerSubscriber implements EventSubscriberInterface {

  /**
   * {@inheritdoc}
   */
  public static function getSubscribedEvents() {
    $events = [];

    // TODO: Register event to update corresponding references when entity types are updated
    return $events;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
CerSubscriber::getSubscribedEvents public static function Returns an array of event names this subscriber wants to listen to.