You are here

public function EntityconnectCache::delete in Entity connect 8.2

Deletes the key/data pair from our PrivateTempStore.

Parameters

string $key: The cache key.

Throws

\Drupal\Core\TempStore\TempStoreException

File

src/EntityconnectCache.php, line 108

Class

EntityconnectCache
A custom class for managing the Entityconnect cache.

Namespace

Drupal\entityconnect

Code

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