You are here

interface StorageBackendInterface in Audit Log 8.2

Same name and namespace in other branches
  1. 8 src/StorageBackend/StorageBackendInterface.php \Drupal\audit_log\StorageBackend\StorageBackendInterface

Defines a logging storage backend to write audit events to.

@package Drupal\audit_log\StorageBackend

Hierarchy

Expanded class hierarchy of StorageBackendInterface

All classes that implement StorageBackendInterface

1 file declares its use of StorageBackendInterface
AuditLogStorage.php in src/AuditLogStorage.php

File

src/StorageBackend/StorageBackendInterface.php, line 12

Namespace

Drupal\audit_log\StorageBackend
View source
interface StorageBackendInterface {

  /**
   * Writes the event to the storage backend's storage system.
   *
   * @param \Drupal\audit_log\AuditLogEventInterface $event
   *   The event to be written to the log.
   */
  public function save(AuditLogEventInterface $event);

}

Members

Namesort descending Modifiers Type Description Overrides
StorageBackendInterface::save public function Writes the event to the storage backend's storage system. 1