public function DefaultIncidentStorage::__construct in Radioactivity 4.0.x
Same name and namespace in other branches
- 8.3 src/DefaultIncidentStorage.php \Drupal\radioactivity\DefaultIncidentStorage::__construct()
DefaultIncidentStorage constructor.
Parameters
\Drupal\Core\State\StateInterface $state: The state key-value storage.
File
- src/
DefaultIncidentStorage.php, line 25
Class
- DefaultIncidentStorage
- Defines a default incident storage.
Namespace
Drupal\radioactivityCode
public function __construct(StateInterface $state) {
$this->state = $state;
}