You are here

interface EventSubscriberInterface in Audit Log 8

Same name and namespace in other branches
  1. 8.2 src/EventSubscriber/EventSubscriberInterface.php \Drupal\audit_log\EventSubscriber\EventSubscriberInterface

Defines an event subscriber for responding to events.

@package Drupal\audit_log\EventSubscriber

Hierarchy

Expanded class hierarchy of EventSubscriberInterface

All classes that implement EventSubscriberInterface

1 file declares its use of EventSubscriberInterface
AuditLogLogger.php in src/AuditLogLogger.php

File

src/EventSubscriber/EventSubscriberInterface.php, line 12

Namespace

Drupal\audit_log\EventSubscriber
View source
interface EventSubscriberInterface {

  /**
   * Processes an event.
   *
   * @param \Drupal\audit_log\AuditLogEventInterface $event
   *   The audit event.
   *
   * @return bool
   *   TRUE if the event subscriber handled the event.
   */
  public function reactTo(AuditLogEventInterface $event);

}

Members