You are here

interface RestIncidentStorageInterface in Radioactivity 8.3

Same name and namespace in other branches
  1. 4.0.x src/RestIncidentStorageInterface.php \Drupal\radioactivity\RestIncidentStorageInterface

Defines the incident storage interface.

Hierarchy

Expanded class hierarchy of RestIncidentStorageInterface

All classes that implement RestIncidentStorageInterface

File

src/RestIncidentStorageInterface.php, line 8

Namespace

Drupal\radioactivity
View source
interface RestIncidentStorageInterface extends IncidentStorageInterface {

  /**
   * Sets the REST endpoint URL.
   *
   * @param string|null $endpoint
   *   The endpoint URL to override the default. Null to return to the default.
   */
  public function setEndpoint($endpoint = NULL);

}

Members

Namesort descending Modifiers Type Description Overrides
IncidentStorageInterface::addIncident public function Adds an incident to the storage. 2
IncidentStorageInterface::clearIncidents public function Clears the incident storage. 2
IncidentStorageInterface::getIncidents public function Gets all incidents from the storage. 2
IncidentStorageInterface::getIncidentsByType public function Gets all incidents from the storage per entity type. 2
IncidentStorageInterface::injectSettings public function Add endpoint settings to the page. 2
IncidentStorageInterface::STORAGE_KEY constant The key to identify the radioactivity incident storage.
RestIncidentStorageInterface::setEndpoint public function Sets the REST endpoint URL. 1