You are here

constant CacheBackendInterface::CACHE_PERMANENT in Zircon Profile 8

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

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

2 uses of CacheBackendInterface::CACHE_PERMANENT
ItemCacheTagsTest::testEntityCreation in core/modules/aggregator/src/Tests/ItemCacheTagsTest.php
Tests that when creating a feed item, the feed tag is invalidated.
ShortcutCacheTagsTest::testEntityCreation in core/modules/shortcut/src/Tests/ShortcutCacheTagsTest.php
Tests that when creating a shortcut, the shortcut set tag is invalidated.

File

core/lib/Drupal/Core/Cache/CacheBackendInterface.php, line 26
Contains \Drupal\Core\Cache\CacheBackendInterface.

Class

CacheBackendInterface
Defines an interface for cache implementations.

Namespace

Drupal\Core\Cache

Code

const CACHE_PERMANENT = -1;