Search for clear

Classes

NameLocationDescription
CacheClearCasemodules/simpletest/tests/cache.testTest cache clearing methods.

Constants

NameLocationDescription
AGGREGATOR_CLEAR_NEVERmodules/aggregator/aggregator.moduleDenotes that a feed's items should never expire.

Functions & methods

NameLocationDescription
CacheClearCase::getInfomodules/simpletest/tests/cache.test
CacheClearCase::setUpmodules/simpletest/tests/cache.testGenerates a random database prefix, runs the install scripts on the prefixed database and enable the specified modules. After installation many caches are flushed and the internal browser is setup so that the page requests will run on the new prefix.…
CacheClearCase::testClearArraymodules/simpletest/tests/cache.testTest clearing using an array.
CacheClearCase::testClearCidmodules/simpletest/tests/cache.testTest clearing using a cid.
CacheClearCase::testClearWildcardmodules/simpletest/tests/cache.testTest clearing using wildcard.
CacheClearCase::testFlushAllCachesmodules/simpletest/tests/cache.testTest drupal_flush_all_caches().
CacheClearCase::testMinimumCacheLifetimemodules/simpletest/tests/cache.testTest minimum cache lifetime.
cache_clear_allincludes/cache.incExpires data from the cache.
cache_example_form_cache_clearingcache_example/cache_example.moduleSubmit handler to demonstrate the various uses of cache_clear_all().
CommentActionsTestCase::clearWatchdogmodules/comment/comment.testHelper function: clear the watchdog.
DatabaseLog::clearincludes/database/log.incEmpty the query log for the specified logging key.
DBLogTestCase::testDBLogAddAndClearmodules/dblog/dblog.testLogin an admin user, create dblog event, and test clearing dblog functionality through the admin interface.
dblog_clear_log_formmodules/dblog/dblog.admin.incReturn form for dblog clear button.
dblog_clear_log_submitmodules/dblog/dblog.admin.incSubmit callback: clear database with log messages.
devel_cache_clear./devel.pages.incMenu callback; clears all caches, then redirects to the previous page.
DrupalCacheInterface::clearincludes/cache.incExpires data from the cache.
DrupalDatabaseCache::clearincludes/cache.incImplements DrupalCacheInterface::clear().
DrupalFakeCache::clearincludes/cache-install.incOverrides DrupalDatabaseCache::clear().
drupal_clear_css_cacheincludes/common.incDeletes old cached CSS files.
drupal_clear_js_cacheincludes/common.incDeletes old cached JavaScript files and variables.
drupal_clear_path_cacheincludes/path.incClear the path cache.
entity_info_cache_clearincludes/common.incResets the cached information about entity types.
field_cache_clearmodules/field/field.moduleClear the field info and field data caches.
field_info_cache_clearmodules/field/field.info.incClears the field info cache without clearing the field data cache.
flood_clear_eventincludes/common.incMakes the flood control mechanism forget an event for the current visitor.
form_clear_errorincludes/form.incClears all errors against all form elements made by form_set_error().
menu_cache_clearincludes/menu.incClears the cached cached data for a single named menu.
menu_cache_clear_allincludes/menu.incClears all cached menu data. This should be called any time broad changes might have been made to the router items or menu links.
queue_example_add_remove_form_clear_queuequeue_example/queue_example.moduleSubmit handler for clearing/deleting the queue.
system_clear_cache_submitmodules/system/system.admin.incSubmit callback; clear system caches.
system_clear_page_cache_submitmodules/system/system.admin.incSubmit callback; clear the page cache.
update_cache_clear_submitmodules/update/update.moduleHelper function for use as a form submit callback.
update_clear_update_disk_cachemodules/update/update.moduleClear the temporary files and directories based on file age from disk.
ViewsFieldApiTestHelper::clearViewsCachestests/field/views_fieldapi.testClear all views caches and static caches which are required for the patch.
views_drush_cache_cleardrush/views.drush.incAdds a cache clear option for views.
views_plugin_query_default::clear_fieldsplugins/views_plugin_query_default.incRemove all fields that may've been added; primarily used for summary mode where we're changing the query because we didn't get data we needed.
views_ui_tools_clear_cacheincludes/admin.incSubmit hook to clear the views cache.
xmlrpc_clear_errorincludes/xmlrpc.incClears any previously-saved errors.
_menu_clear_page_cacheincludes/menu.incHelper function to clear the page and block caches at most twice per page load.
_update_authorize_clear_update_statusmodules/update/update.authorize.incPrivate helper function to clear cached available update status data.
_update_cache_clearmodules/update/update.moduleInvalidates cached data relating to update status.