Search for clear

  1. Search 7.x for clear
  2. Search 8.9.x for clear
  3. Search 10.3.x for clear
  4. Search 11.x for clear
  5. Other projects
Title Object type File name Summary
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.
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.
FeedStorageInterface::CLEAR_NEVER constant core/modules/aggregator/src/FeedStorageInterface.php Denotes that a feed's items should never expire.
FloodInterface::clear function core/lib/Drupal/Core/Flood/FloodInterface.php Makes the flood control mechanism forget an event for the current visitor.
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_topics/src/Plugin/Search/HelpSearch.php Clears the search index for this plugin.
HelpSectionManager::clearCachedDefinitions function core/modules/help_topics/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
LazyPluginCollection::clear function core/lib/Drupal/Component/Plugin/LazyPluginCollection.php Clears all instantiated plugins.
LibraryDiscovery::clearCachedDefinitions function core/lib/Drupal/Core/Asset/LibraryDiscovery.php Clears static and persistent library definition caches.
LibraryDiscoveryInterface::clearCachedDefinitions function core/lib/Drupal/Core/Asset/LibraryDiscoveryInterface.php Clears static and persistent library definition caches.
LocaleTranslationProjectsTest::testLocaleTranslationClearCacheProjects function core/modules/locale/tests/src/Kernel/LocaleTranslationProjectsTest.php Tests locale_translation_clear_cache_projects().
locale_translation_clear_cache_projects function core/modules/locale/locale.translation.inc Clears the projects cache.
locale_translation_clear_status function core/modules/locale/locale.module Clear the translation status cache.
Log::clear function core/lib/Drupal/Core/Database/Log.php Empty the query log for the specified logging key.
MemoryBackend::clear function core/lib/Drupal/Core/Flood/MemoryBackend.php Makes the flood control mechanism forget an event for the current visitor.
MessageCommand::$clearPrevious property core/lib/Drupal/Core/Ajax/MessageCommand.php Whether to clear previous messages.
MetadataBag::clearCsrfTokenSeed function core/lib/Drupal/Core/Session/MetadataBag.php Clear the CSRF token seed.
MetadataBagTest::testDeprecatedClearCsrfTokenSeed function core/tests/Drupal/Tests/Core/Session/MetadataBagTest.php @covers ::clearCsrfTokenSeed
@group legacy
MigrateExecutableMemoryExceededTest::testMemoryExceededClearedEnough function core/modules/migrate/tests/src/Unit/MigrateExecutableMemoryExceededTest.php Tests memoryExceeded method when enough is cleared.
MigrateIdMapInterface::clearMessages function core/modules/migrate/src/Plugin/MigrateIdMapInterface.php Clears all messages from the map.

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