Search for clear

  1. Search 7.x for clear
  2. Search 9.5.x for clear
  3. Search 8.9.x for clear
  4. Search 10.3.x for clear
  5. Other projects
Title Object type File name Summary
AliasPrefixList::clear function core/modules/path_alias/src/AliasPrefixList.php Clears the collected cache entry.
CacheCollector::clear function core/lib/Drupal/Core/Cache/CacheCollector.php Clears the collected cache entry.
CacheCollectorInterface::clear function core/lib/Drupal/Core/Cache/CacheCollectorInterface.php Clears the collected cache entry.
CacheCollectorTest::testUpdateCacheClear function core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php Tests a clear of the cache collector.
CacheCollectorTest::testUpdateCacheClearTags function core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php Tests a clear of the cache collector using tags.
CachedDiscoveryClearer class core/lib/Drupal/Core/Plugin/CachedDiscoveryClearer.php Defines a class which is capable of clearing the cache on plugin managers.
CachedDiscoveryClearer.php file core/lib/Drupal/Core/Plugin/CachedDiscoveryClearer.php
CachedDiscoveryClearer::$legacyCachedDiscoveries property core/lib/Drupal/Core/Plugin/CachedDiscoveryClearer.php The legacy stored discoveries.
CachedDiscoveryClearer::addCachedDiscovery function core/lib/Drupal/Core/Plugin/CachedDiscoveryClearer.php Adds a plugin manager to the active list.
CachedDiscoveryClearer::clearCachedDefinitions function core/lib/Drupal/Core/Plugin/CachedDiscoveryClearer.php Clears the cache on all cached discoveries.
CachedDiscoveryClearer::__construct function core/lib/Drupal/Core/Plugin/CachedDiscoveryClearer.php Constructs the CachedDiscoveryClearer service.
CachedDiscoveryClearerInterface interface core/lib/Drupal/Core/Plugin/CachedDiscoveryClearerInterface.php Provides a way to clear static caches of all plugin managers.
CachedDiscoveryClearerInterface.php file core/lib/Drupal/Core/Plugin/CachedDiscoveryClearerInterface.php
CachedDiscoveryClearerInterface::clearCachedDefinitions function core/lib/Drupal/Core/Plugin/CachedDiscoveryClearerInterface.php Clears the cache on all cached discoveries.
CachedDiscoveryInterface::clearCachedDefinitions function core/lib/Drupal/Component/Plugin/Discovery/CachedDiscoveryInterface.php Clears static and persistent plugin definition caches.
ClearCacheBlock class core/modules/system/src/Plugin/Block/ClearCacheBlock.php Provides a block to display 'Clear cache' elements.
ClearCacheBlock.php file core/modules/system/src/Plugin/Block/ClearCacheBlock.php
ClearCacheBlock::blockAccess function core/modules/system/src/Plugin/Block/ClearCacheBlock.php Indicates whether the block should be shown.
ClearCacheBlock::build function core/modules/system/src/Plugin/Block/ClearCacheBlock.php Builds and returns the renderable array for this block plugin.
ClearCacheBlock::create function core/modules/system/src/Plugin/Block/ClearCacheBlock.php Creates an instance of the plugin.
ClearCacheBlock::__construct function core/modules/system/src/Plugin/Block/ClearCacheBlock.php Creates a ClearCacheBlock instance.
ClearCacheBlockTest class core/modules/system/tests/src/Functional/Block/ClearCacheBlockTest.php Tests clear cache block behavior.
ClearCacheBlockTest.php file core/modules/system/tests/src/Functional/Block/ClearCacheBlockTest.php
ClearCacheBlockTest::$clearCacheBlock property core/modules/system/tests/src/Functional/Block/ClearCacheBlockTest.php The clear cache block instance.
ClearCacheBlockTest::$defaultTheme property core/modules/system/tests/src/Functional/Block/ClearCacheBlockTest.php The theme to install as the default for testing.
ClearCacheBlockTest::$modules property core/modules/system/tests/src/Functional/Block/ClearCacheBlockTest.php Modules to install.
ClearCacheBlockTest::setUp function core/modules/system/tests/src/Functional/Block/ClearCacheBlockTest.php
ClearCacheBlockTest::testCacheClearBlock function core/modules/system/tests/src/Functional/Block/ClearCacheBlockTest.php Tests block behavior and access based on permissions.
ClearCacheForm class core/modules/system/src/Form/ClearCacheForm.php Clear caches for this site.
ClearCacheForm.php file core/modules/system/src/Form/ClearCacheForm.php
ClearCacheForm::buildForm function core/modules/system/src/Form/ClearCacheForm.php Form constructor.
ClearCacheForm::getFormId function core/modules/system/src/Form/ClearCacheForm.php Returns a unique string identifying the form.
ClearCacheForm::submitForm function core/modules/system/src/Form/ClearCacheForm.php Clears the caches.
ComponentNegotiator::clearCache function core/lib/Drupal/Core/Theme/ComponentNegotiator.php Clears the negotiation cache.
ComponentPluginManager::clearCachedDefinitions function core/lib/Drupal/Core/Theme/ComponentPluginManager.php Clears static and persistent plugin definition caches.
Config::clear function core/lib/Drupal/Core/Config/Config.php Unsets a value in this configuration object.
ConfigBase::clear function core/lib/Drupal/Core/Config/ConfigBase.php Unsets a value in this configuration object.
ConfigFactory::clearStaticCache function core/lib/Drupal/Core/Config/ConfigFactory.php Clears the config factory static cache.
ConfigFactoryInterface::clearStaticCache function core/lib/Drupal/Core/Config/ConfigFactoryInterface.php Clears the config factory static cache.
ConfigTest::testClear function core/tests/Drupal/Tests/Core/Config/ConfigTest.php @covers ::clear[[api-linebreak]]
@dataProvider simpleDataProvider
ConfigTest::testNestedClear function core/tests/Drupal/Tests/Core/Config/ConfigTest.php @covers ::clear[[api-linebreak]]
@dataProvider nestedDataProvider
ContentEntityBase::clearTranslationCache function core/lib/Drupal/Core/Entity/ContentEntityBase.php Clears entity translation object cache to remove stale references.
ContextualLinkManager::clearCachedDefinitions function core/lib/Drupal/Core/Menu/ContextualLinkManager.php Clears static and persistent plugin definition caches.
DatabaseBackend::clear function core/lib/Drupal/Core/Flood/DatabaseBackend.php Makes the flood control mechanism forget an event for the current visitor.
DatabaseBackend::clearByPrefix function core/lib/Drupal/Core/Flood/DatabaseBackend.php Makes the flood control mechanism forget an event by identifier prefix.
DefaultLazyPluginCollectionTest::testClear function core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php @covers ::clear[[api-linebreak]]
DefaultPluginManager::clearCachedDefinitions function core/lib/Drupal/Core/Plugin/DefaultPluginManager.php Clears static and persistent plugin definition caches.
DefaultPluginManagerTest::testCacheClearWithTags function core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php Tests the plugin manager cache clear with tags.
DerivativeDiscoveryDecorator::clearCachedDefinitions function core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php Clears static and persistent plugin definition caches.
ElementInfoManager::clearCachedDefinitions function core/lib/Drupal/Core/Render/ElementInfoManager.php Clears static and persistent plugin definition caches.

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