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
ClearTest class core/modules/system/tests/src/Functional/Cache/ClearTest.php Tests our clearing is done the proper way.
ClearTest.php file core/modules/system/tests/src/Functional/Cache/ClearTest.php
ClearTest::$defaultTheme property core/modules/system/tests/src/Functional/Cache/ClearTest.php The theme to install as the default for testing.
ClearTest::setUp function core/modules/system/tests/src/Functional/Cache/ClearTest.php
ClearTest::testFlushAllCaches function core/modules/system/tests/src/Functional/Cache/ClearTest.php Tests drupal_flush_all_caches().
ComponentNegotiator::clearCache function core/modules/sdc/src/ComponentNegotiator.php Clears the negotiation cache.
ComponentNegotiator::clearCache function core/lib/Drupal/Core/Theme/ComponentNegotiator.php Clears the negotiation cache.
ComponentPluginManager::clearCachedDefinitions function core/modules/sdc/src/ComponentPluginManager.php Clears static and persistent plugin definition caches.
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.
ConfigMapperManager::clearCachedDefinitions function core/modules/config_translation/src/ConfigMapperManager.php Clears static and persistent plugin definition caches.
ConfigTest::testClear function core/tests/Drupal/Tests/Core/Config/ConfigTest.php @covers ::clear
@dataProvider simpleDataProvider
ConfigTest::testNestedClear function core/tests/Drupal/Tests/Core/Config/ConfigTest.php @covers ::clear
@dataProvider nestedDataProvider
ContentEntityBase::clearTranslationCache function core/lib/Drupal/Core/Entity/ContentEntityBase.php Clears entity translation object cache to remove stale references.
ContentTranslationEntityBundleInfoTest::testBundleClearOnLanguageContentSettingInsert function core/modules/content_translation/tests/src/Kernel/ContentTranslationEntityBundleInfoTest.php Tests that bundle translation settings are propagated on creation.
ContentTranslationEntityBundleInfoTest::testBundleClearOnLanguageContentSettingUpdate function core/modules/content_translation/tests/src/Kernel/ContentTranslationEntityBundleInfoTest.php Tests that bundle translation setting changes are propagated.
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.
DblogClearLogConfirmForm class core/modules/dblog/src/Form/DblogClearLogConfirmForm.php Provides a confirmation form before clearing out the logs.
DblogClearLogConfirmForm.php file core/modules/dblog/src/Form/DblogClearLogConfirmForm.php
DblogClearLogConfirmForm::$connection property core/modules/dblog/src/Form/DblogClearLogConfirmForm.php The database connection.
DblogClearLogConfirmForm::create function core/modules/dblog/src/Form/DblogClearLogConfirmForm.php Instantiates a new instance of this class.
DblogClearLogConfirmForm::getCancelUrl function core/modules/dblog/src/Form/DblogClearLogConfirmForm.php Returns the route to go to if the user cancels the action.
DblogClearLogConfirmForm::getFormId function core/modules/dblog/src/Form/DblogClearLogConfirmForm.php Returns a unique string identifying the form.
DblogClearLogConfirmForm::getQuestion function core/modules/dblog/src/Form/DblogClearLogConfirmForm.php Returns the question to ask the user.
DblogClearLogConfirmForm::submitForm function core/modules/dblog/src/Form/DblogClearLogConfirmForm.php Form submission handler.
DblogClearLogConfirmForm::__construct function core/modules/dblog/src/Form/DblogClearLogConfirmForm.php Constructs a new DblogClearLogConfirmForm.
DbLogTest::clearLogsEntries function core/modules/dblog/tests/src/Functional/DbLogTest.php Clear the entry logs by clicking on 'Clear log messages' button.
DbLogTest::testDBLogAddAndClear function core/modules/dblog/tests/src/Functional/DbLogTest.php Tests the addition and clearing of log events through the admin interface.
DefaultLazyPluginCollectionTest::testClear function core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php @covers ::clear
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.
DisplayPluginCollection::clear function core/modules/views/src/DisplayPluginCollection.php Clears all instantiated plugins.
ElementInfoManager::clearCachedDefinitions function core/lib/Drupal/Core/Render/ElementInfoManager.php Clears static and persistent plugin definition caches.
EntityDefinitionUpdateManager::clearCachedDefinitions function core/lib/Drupal/Core/Entity/EntityDefinitionUpdateManager.php Clears necessary caches to apply entity/field definition updates.
EntityDisplayRepository::clearDisplayModeInfo function core/lib/Drupal/Core/Entity/EntityDisplayRepository.php Clears the gathered display mode info.
EntityDisplayRepositoryInterface::clearDisplayModeInfo function core/lib/Drupal/Core/Entity/EntityDisplayRepositoryInterface.php Clears the gathered display mode info.
EntityFieldManager::clearCachedFieldDefinitions function core/lib/Drupal/Core/Entity/EntityFieldManager.php Clears static and persistent field definition caches.
EntityFieldManagerInterface::clearCachedFieldDefinitions function core/lib/Drupal/Core/Entity/EntityFieldManagerInterface.php Clears static and persistent field definition caches.
EntityFieldManagerTest::testClearCachedFieldDefinitions function core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php Tests the clearCachedFieldDefinitions() method.
EntityTypeBundleInfo::clearCachedBundles function core/lib/Drupal/Core/Entity/EntityTypeBundleInfo.php Clears static and persistent bundles.
EntityTypeBundleInfoInterface::clearCachedBundles function core/lib/Drupal/Core/Entity/EntityTypeBundleInfoInterface.php Clears static and persistent bundles.
EntityTypeBundleInfoTest::testClearCachedBundles function core/tests/Drupal/Tests/Core/Entity/EntityTypeBundleInfoTest.php Tests the clearCachedBundles() method.
EntityTypeListener::clearCachedDefinitions function core/lib/Drupal/Core/Entity/EntityTypeListener.php Clears necessary caches to apply entity/field definition updates.
EntityTypeManager::clearCachedDefinitions function core/lib/Drupal/Core/Entity/EntityTypeManager.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.