function DefaultPluginManager::getCacheMaxAge
Same name in other branches
- 9 core/lib/Drupal/Core/Plugin/DefaultPluginManager.php \Drupal\Core\Plugin\DefaultPluginManager::getCacheMaxAge()
- 8.9.x core/lib/Drupal/Core/Plugin/DefaultPluginManager.php \Drupal\Core\Plugin\DefaultPluginManager::getCacheMaxAge()
- 11.x core/lib/Drupal/Core/Plugin/DefaultPluginManager.php \Drupal\Core\Plugin\DefaultPluginManager::getCacheMaxAge()
Overrides CacheableDependencyInterface::getCacheMaxAge
File
-
core/
lib/ Drupal/ Core/ Plugin/ DefaultPluginManager.php, line 417
Class
- DefaultPluginManager
- Base class for plugin managers.
Namespace
Drupal\Core\PluginCode
public function getCacheMaxAge() {
return Cache::PERMANENT;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.