public function State::delete in Service Container 7.2
Same name and namespace in other branches
- 7 lib/Drupal/Core/State/State.php \Drupal\Core\State\State::delete()
Deletes an item.
Parameters
string $key: The item name to delete.
Overrides StateInterface::delete
File
- lib/
Drupal/ Core/ State/ State.php, line 105 - Contains \Drupal\Core\State\State.
Class
- State
- Provides the state system using a key value store.
Namespace
Drupal\Core\StateCode
public function delete($key) {
$this
->deleteMultiple(array(
$key,
));
}