public function DatabaseBackend::delete

Implements Drupal\Core\Cache\CacheBackendInterface::delete().

Overrides CacheBackendInterface::delete

1 call to DatabaseBackend::delete()
InstallBackend::delete in drupal/core/lib/Drupal/Core/Cache/InstallBackend.php
Overrides Drupal\Core\Cache\DatabaseBackend::delete().
1 method overrides DatabaseBackend::delete()
InstallBackend::delete in drupal/core/lib/Drupal/Core/Cache/InstallBackend.php
Overrides Drupal\Core\Cache\DatabaseBackend::delete().

File

drupal/core/lib/Drupal/Core/Cache/DatabaseBackend.php, line 167
Definition of Drupal\Core\Cache\DatabaseBackend.

Class

DatabaseBackend
Defines a default cache implementation.

Namespace

Drupal\Core\Cache

Code

public function delete($cid) {
  Database::getConnection()
    ->delete($this->bin)
    ->condition('cid', $cid)
    ->execute();
}