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 11.x for clear
  5. Other projects
Title Object type File name Summary
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
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.
Drupal\Core\Plugin\CachedDiscoveryClearerInterface service core/core.services.yml
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
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
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
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.
FloodInterface::clear function core/lib/Drupal/Core/Flood/FloodInterface.php Makes the flood control mechanism forget an event for the current visitor.
FloodTest::testClearByPrefix function core/modules/system/tests/src/Kernel/System/FloodTest.php Tests clearByPrefix method on flood backends.
FormState::clearErrors function core/lib/Drupal/Core/Form/FormState.php Clears all errors against all form elements made by self::setErrorByName().
FormStateDecoratorBase::clearErrors function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Clears all errors against all form elements made by self::setErrorByName().
FormStateDecoratorBaseTest::testClearErrors function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::clearErrors
FormStateInterface::clearErrors function core/lib/Drupal/Core/Form/FormStateInterface.php Clears all errors against all form elements made by self::setErrorByName().
HelpSearch::indexClear function core/modules/help/src/Plugin/Search/HelpSearch.php Clears the search index for this plugin.
HelpSectionManager::clearCachedDefinitions function core/modules/help/src/HelpSectionManager.php Clears static and persistent plugin definition caches.
ImageStyleStorage::clearReplacementId function core/modules/image/src/ImageStyleStorage.php Clears a replacement ID from the storage.
ImageStyleStorageInterface::clearReplacementId function core/modules/image/src/ImageStyleStorageInterface.php Clears a replacement ID from the storage.
ImmutableConfig::clear function core/lib/Drupal/Core/Config/ImmutableConfig.php Unsets a value in this configuration object.
ImmutableConfigTest::testClear function core/tests/Drupal/Tests/Core/Config/ImmutableConfigTest.php @covers ::clear

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