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

Breadcrumb

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

CacheableDependencyTrait::$cacheMaxAge

Cache max-age.

Type: int

File

core/lib/Drupal/Core/Cache/CacheableDependencyTrait.php, line 29

Class

CacheableDependencyTrait
Trait for \Drupal\Core\Cache\CacheableDependencyInterface.

Namespace

Drupal\Core\Cache

Code

protected $cacheMaxAge = Cache::PERMANENT;

API Navigation

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