You are here

public function NullBackend::get in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Cache/NullBackend.php \Drupal\Core\Cache\NullBackend::get()
  2. 9 core/lib/Drupal/Core/Cache/NullBackend.php \Drupal\Core\Cache\NullBackend::get()

File

core/lib/Drupal/Core/Cache/NullBackend.php, line 31

Class

NullBackend
Defines a stub cache implementation.

Namespace

Drupal\Core\Cache

Code

public function get($cid, $allow_invalid = FALSE) {
  return FALSE;
}