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. Search main for clear
  6. Other projects
Title Object type File name Summary
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.
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
DatabaseBackend::clear function core/lib/Drupal/Core/Flood/DatabaseBackend.php
DatabaseBackend::clearByPrefix function core/lib/Drupal/Core/Flood/DatabaseBackend.php
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
DblogClearLogConfirmForm::getCancelUrl function core/modules/dblog/src/Form/DblogClearLogConfirmForm.php
DblogClearLogConfirmForm::getFormId function core/modules/dblog/src/Form/DblogClearLogConfirmForm.php
DblogClearLogConfirmForm::getQuestion function core/modules/dblog/src/Form/DblogClearLogConfirmForm.php
DblogClearLogConfirmForm::submitForm function core/modules/dblog/src/Form/DblogClearLogConfirmForm.php
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[[api-linebreak]]
DefaultPluginManager::clearCachedDefinitions function core/lib/Drupal/Core/Plugin/DefaultPluginManager.php
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
DisplayPluginCollection::clear function core/modules/views/src/DisplayPluginCollection.php
ElementInfoManager::clearCachedDefinitions function core/lib/Drupal/Core/Render/ElementInfoManager.php
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
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
FormStateDecoratorBase::clearErrors function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php
FormStateDecoratorBaseTest::testClearErrors function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::clearErrors[[api-linebreak]]
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
HelpSectionManager::clearCachedDefinitions function core/modules/help/src/HelpSectionManager.php
ImageStyleStorage::clearReplacementId function core/modules/image/src/ImageStyleStorage.php
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
ImmutableConfigTest::testClear function core/tests/Drupal/Tests/Core/Config/ImmutableConfigTest.php @covers ::clear[[api-linebreak]]
JavascriptErrorsTest::clearErrorLog function core/tests/Drupal/FunctionalJavascriptTests/JavascriptErrorsTest.php Clear the JavaScript error log to prevent this test failing for real.
LazyPluginCollection::clear function core/lib/Drupal/Component/Plugin/LazyPluginCollection.php Clears all instantiated plugins.
LibraryDiscovery::clearCachedDefinitions function core/lib/Drupal/Core/Asset/LibraryDiscovery.php

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