Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. CachePluginBase.php

function CachePluginBase::cacheExpire

Determine the expiration time of the cache type, or NULL if no expire.

Plugins must override this to implement expiration.

Parameters

$type: The cache type, either 'query', 'result'.

1 call to CachePluginBase::cacheExpire()
CachePluginBase::cacheGet in core/modules/views/src/Plugin/views/cache/CachePluginBase.php
Retrieve data from the cache.
2 methods override CachePluginBase::cacheExpire()
Tag::cacheExpire in core/modules/views/src/Plugin/views/cache/Tag.php
Determine the expiration time of the cache type, or NULL if no expire.
Time::cacheExpire in core/modules/views/src/Plugin/views/cache/Time.php
Determine the expiration time of the cache type, or NULL if no expire.

File

core/modules/views/src/Plugin/views/cache/CachePluginBase.php, line 81

Class

CachePluginBase
The base plugin to handle caching.

Namespace

Drupal\views\Plugin\views\cache

Code

protected function cacheExpire($type) {
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal