StorageBackendInterface.php in Audit Log 8.2
Same filename and directory in other branches
Namespace
Drupal\audit_log\StorageBackendFile
src/StorageBackend/StorageBackendInterface.phpView source
<?php
namespace Drupal\audit_log\StorageBackend;
use Drupal\audit_log\AuditLogEventInterface;
/**
* Defines a logging storage backend to write audit events to.
*
* @package Drupal\audit_log\StorageBackend
*/
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);
}
Interfaces
Name | Description |
---|---|
StorageBackendInterface | Defines a logging storage backend to write audit events to. |