Search for getCacheMaxAge

  1. Search 7.x for getCacheMaxAge
  2. Search 8.9.x for getCacheMaxAge
  3. Search 10.3.x for getCacheMaxAge
  4. Search 11.x for getCacheMaxAge
  5. Other projects
Title Object type File name Summary
AccessResult::getCacheMaxAge function core/lib/Drupal/Core/Access/AccessResult.php The maximum age for which this object may be cached.
ArgumentPluginBase::getCacheMaxAge function core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php The maximum age for which this object may be cached.
AttachedRenderingBlock::getCacheMaxAge function core/modules/system/tests/modules/render_attached_test/src/Plugin/Block/AttachedRenderingBlock.php
BulkForm::getCacheMaxAge function core/modules/views/src/Plugin/views/field/BulkForm.php The maximum age for which this object may be cached.
CacheableDependencyInterface::getCacheMaxAge function core/lib/Drupal/Core/Cache/CacheableDependencyInterface.php The maximum age for which this object may be cached.
CacheableDependencyTrait::getCacheMaxAge function core/lib/Drupal/Core/Cache/CacheableDependencyTrait.php
CacheableMetadata::getCacheMaxAge function core/lib/Drupal/Core/Cache/CacheableMetadata.php The maximum age for which this object may be cached.
CacheableMetadataCalculationTest::getCacheMaxAge function core/modules/views/tests/modules/views_test_cacheable_metadata_calculation/src/Plugin/views/access/CacheableMetadataCalculationTest.php The maximum age for which this object may be cached.
CachePluginBase::getCacheMaxAge function core/modules/views/src/Plugin/views/cache/CachePluginBase.php Gets the max age for the current view.
ComputedString::getCacheMaxAge function core/modules/system/tests/modules/entity_test/src/TypedData/ComputedString.php The maximum age for which this object may be cached.
ConfigBase::getCacheMaxAge function core/lib/Drupal/Core/Config/ConfigBase.php The maximum age for which this object may be cached.
Context::getCacheMaxAge function core/lib/Drupal/Core/Plugin/Context/Context.php The maximum age for which this object may be cached.
ContextAwarePluginTrait::getCacheMaxAge function core/lib/Drupal/Core/Plugin/ContextAwarePluginTrait.php
CurrentUser::getCacheMaxAge function core/modules/user/src/Plugin/views/argument_default/CurrentUser.php The maximum age for which this object may be cached.
DefaultPluginManager::getCacheMaxAge function core/lib/Drupal/Core/Plugin/DefaultPluginManager.php The maximum age for which this object may be cached.
DefaultPluginManagerTest::testGetCacheMaxAge function core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php @covers ::getCacheMaxAge[[api-linebreak]]
EntityBase::getCacheMaxAge function core/lib/Drupal/Core/Entity/EntityBase.php The maximum age for which this object may be cached.
EntityField::getCacheMaxAge function core/modules/views/src/Plugin/views/field/EntityField.php The maximum age for which this object may be cached.
ExposedFormPluginBase::getCacheMaxAge function core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginBase.php The maximum age for which this object may be cached.
FilterPluginBase::getCacheMaxAge function core/modules/views/src/Plugin/views/filter/FilterPluginBase.php The maximum age for which this object may be cached.
Fixed::getCacheMaxAge function core/modules/views/src/Plugin/views/argument_default/Fixed.php The maximum age for which this object may be cached.
FormattedDateDiff::getCacheMaxAge function core/lib/Drupal/Core/Datetime/FormattedDateDiff.php The maximum age for which this object may be cached.
InaccessibleMenuLink::getCacheMaxAge function core/lib/Drupal/Core/Menu/InaccessibleMenuLink.php The maximum age for which this object may be cached.
LocalActionDefault::getCacheMaxAge function core/lib/Drupal/Core/Menu/LocalActionDefault.php The maximum age for which this object may be cached.
LocalTaskDefault::getCacheMaxAge function core/lib/Drupal/Core/Menu/LocalTaskDefault.php The maximum age for which this object may be cached.
MenuLinkBase::getCacheMaxAge function core/lib/Drupal/Core/Menu/MenuLinkBase.php The maximum age for which this object may be cached.
MenuLinkMock::getCacheMaxAge function core/tests/Drupal/Tests/Core/Menu/MenuLinkMock.php The maximum age for which this object may be cached.
Node::getCacheMaxAge function core/modules/node/src/Plugin/views/argument_default/Node.php The maximum age for which this object may be cached.
Permission::getCacheMaxAge function core/modules/user/src/Plugin/views/access/Permission.php The maximum age for which this object may be cached.
QueryParameter::getCacheMaxAge function core/modules/views/src/Plugin/views/argument_default/QueryParameter.php The maximum age for which this object may be cached.
QueryPluginBase::getCacheMaxAge function core/modules/views/src/Plugin/views/query/QueryPluginBase.php The maximum age for which this object may be cached.
Raw::getCacheMaxAge function core/modules/views/src/Plugin/views/argument_default/Raw.php The maximum age for which this object may be cached.
RedirectFormBlock::getCacheMaxAge function core/modules/system/tests/modules/form_test/src/Plugin/Block/RedirectFormBlock.php @todo Make cacheable once https://www.drupal.org/node/2351015 lands.
RenderedEntity::getCacheMaxAge function core/modules/views/src/Plugin/views/field/RenderedEntity.php The maximum age for which this object may be cached.
RendererBase::getCacheMaxAge function core/modules/views/src/Entity/Render/RendererBase.php The maximum age for which this object may be cached.
Role::getCacheMaxAge function core/modules/user/src/Plugin/views/access/Role.php The maximum age for which this object may be cached.
Serializer::getCacheMaxAge function core/modules/rest/src/Plugin/views/style/Serializer.php The maximum age for which this object may be cached.
SortPluginBase::getCacheMaxAge function core/modules/views/src/Plugin/views/sort/SortPluginBase.php The maximum age for which this object may be cached.
Sql::getCacheMaxAge function core/modules/views/src/Plugin/views/query/Sql.php The maximum age for which this object may be cached.
SqlBase::getCacheMaxAge function core/modules/views/src/Plugin/views/pager/SqlBase.php The maximum age for which this object may be cached.
SqlTest::testGetCacheMaxAge function core/modules/views/tests/src/Unit/Plugin/query/SqlTest.php @covers ::getCacheTags[[api-linebreak]]
@covers ::getAllEntities[[api-linebreak]]
SystemMessagesBlock::getCacheMaxAge function core/modules/system/src/Plugin/Block/SystemMessagesBlock.php The maximum age for which this object may be cached.
Table::getCacheMaxAge function core/modules/views/src/Plugin/views/style/Table.php The maximum age for which this object may be cached.
TestAccessBlock::getCacheMaxAge function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestAccessBlock.php
TestCacheableDependency::getCacheMaxAge function core/tests/Drupal/Tests/Core/Render/TestCacheableDependency.php The maximum age for which this object may be cached.
TestCacheBlock::getCacheMaxAge function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestCacheBlock.php
TestHelpTopicPlugin::getCacheMaxAge function core/modules/help_topics/tests/modules/help_topics_test/src/Plugin/HelpTopic/TestHelpTopicPlugin.php The maximum age for which this object may be cached.
TextProcessed::getCacheMaxAge function core/modules/text/src/TextProcessed.php The maximum age for which this object may be cached.
Tid::getCacheMaxAge function core/modules/taxonomy/src/Plugin/views/argument_default/Tid.php The maximum age for which this object may be cached.
UncacheableDependencyTrait::getCacheMaxAge function core/lib/Drupal/Core/Cache/UncacheableDependencyTrait.php

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