public function InstallBackend::invalidate

Overrides Drupal\Core\Cache\DatabaseBackend::invalidate().

Overrides DatabaseBackend::invalidate

File

drupal/core/lib/Drupal/Core/Cache/InstallBackend.php, line 118
Definition of Drupal\Core\Cache\InstallBackend.

Class

InstallBackend
Defines a stub cache implementation to be used during installation.

Namespace

Drupal\Core\Cache

Code

public function invalidate($cid) {
  try {
    if (class_exists('Drupal\\Core\\Database\\Database')) {
      parent::invalidate($cid);
    }
  } catch (Exception $e) {
  }
}