public function IncidentStorageInterface::addIncident in Radioactivity 8.3
Same name and namespace in other branches
- 4.0.x src/IncidentStorageInterface.php \Drupal\radioactivity\IncidentStorageInterface::addIncident()
Adds an incident to the storage.
Parameters
\Drupal\radioactivity\IncidentInterface $incident: The incident object.
2 methods override IncidentStorageInterface::addIncident()
- DefaultIncidentStorage::addIncident in src/
DefaultIncidentStorage.php - Adds an incident to the storage.
- RestIncidentStorage::addIncident in src/
RestIncidentStorage.php - Adds an incident to the storage.
File
- src/
IncidentStorageInterface.php, line 21
Class
- IncidentStorageInterface
- Defines the incident storage interface.
Namespace
Drupal\radioactivityCode
public function addIncident(IncidentInterface $incident);