Cache::PERMANENT

Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Cache/Cache.php \Drupal\Core\Cache\Cache::PERMANENT
  2. 10 core/lib/Drupal/Core/Cache/Cache.php \Drupal\Core\Cache\Cache::PERMANENT
  3. 11.x core/lib/Drupal/Core/Cache/Cache.php \Drupal\Core\Cache\Cache::PERMANENT

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

File

core/lib/Drupal/Core/Cache/Cache.php, line 18

Class

Cache
Helper methods for cache.

Namespace

Drupal\Core\Cache

Code

const PERMANENT = CacheBackendInterface::CACHE_PERMANENT;

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