Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Cache/CacheBackendInterface.php \Drupal\Core\Cache\CacheBackendInterface::CACHE_PERMANENT
  2. 9 core/lib/Drupal/Core/Cache/CacheBackendInterface.php \Drupal\Core\Cache\CacheBackendInterface::CACHE_PERMANENT

Indicates that the item should never be removed unless explicitly deleted.

File

core/lib/Drupal/Core/Cache/CacheBackendInterface.php, line 21

Class

CacheBackendInterface
Defines an interface for cache implementations.

Namespace

Drupal\Core\Cache

Code

const CACHE_PERMANENT = -1;