You are here

public function StateInterface::delete in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/State/StateInterface.php \Drupal\Core\State\StateInterface::delete()

Deletes an item.

Parameters

string $key: The item name to delete.

1 method overrides StateInterface::delete()
State::delete in core/lib/Drupal/Core/State/State.php
Deletes an item.

File

core/lib/Drupal/Core/State/StateInterface.php, line 60

Class

StateInterface
Defines the interface for the state system.

Namespace

Drupal\Core\State

Code

public function delete($key);