CacheBackendInterface::CACHE_PERMANENT

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Cache/CacheBackendInterface.php \Drupal\Core\Cache\CacheBackendInterface::CACHE_PERMANENT
  2. 8.9.x core/lib/Drupal/Core/Cache/CacheBackendInterface.php \Drupal\Core\Cache\CacheBackendInterface::CACHE_PERMANENT
  3. 10 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;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.