You are here

public function Drupal8State::delete in Rocket.Chat 8.2

Deletes an item.

Parameters

string $key: The item name to delete.

Overrides RocketChatStateinterface::delete

File

modules/rocket_chat_api/src/RocketChat/Drupal8State.php, line 83

Class

Drupal8State
Class Drupal8State

Namespace

Drupal\rocket_chat_api\RocketChat

Code

public function delete($key) {
  return $this->state
    ->delete($key);
}