function StateInterface::delete
Same name in other branches
- 9 core/lib/Drupal/Core/State/StateInterface.php \Drupal\Core\State\StateInterface::delete()
- 8.9.x core/lib/Drupal/Core/State/StateInterface.php \Drupal\Core\State\StateInterface::delete()
- 10 core/lib/Drupal/Core/State/StateInterface.php \Drupal\Core\State\StateInterface::delete()
Deletes an item.
Parameters
string $key: The item name to delete.
File
-
core/
lib/ Drupal/ Core/ State/ StateInterface.php, line 60
Class
- StateInterface
- Defines the interface for the state system.
Namespace
Drupal\Core\StateCode
public function delete($key);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.