Search for destroy

  1. Search 7.x for destroy
  2. Search 9.5.x for destroy
  3. Search 8.9.x for destroy
  4. Search 10.3.x for destroy
  5. Other projects
Title Object type File name Summary
BuildTestBase::$destroyBuild property core/tests/Drupal/BuildTests/Framework/BuildTestBase.php Default to destroying build artifacts after a test finishes.
DisplayPluginBase::destroy function core/modules/views/src/Plugin/views/display/DisplayPluginBase.php Clears a plugin.
DisplayPluginInterface::destroy function core/modules/views/src/Plugin/views/display/DisplayPluginInterface.php Destroys the display's components and the display itself.
MigrateIdMapInterface::destroy function core/modules/migrate/src/Plugin/MigrateIdMapInterface.php Removes any persistent storage used by this map.
MigrateSqlIdMapTest::testDestroy function core/modules/migrate/tests/src/Unit/MigrateSqlIdMapTest.php Tests the destroy method.
NullIdMap::destroy function core/modules/migrate/src/Plugin/migrate/id_map/NullIdMap.php Removes any persistent storage used by this map.
PluginBase::destroy function core/modules/views/src/Plugin/views/PluginBase.php Clears a plugin.
SessionHandler::destroy function core/lib/Drupal/Core/Session/SessionHandler.php
SessionManager::destroy function core/lib/Drupal/Core/Session/SessionManager.php Destroys the current session and removes session cookies.
SessionManagerDestroyNoCliCheckTest class core/tests/Drupal/KernelTests/Core/Session/SessionManagerDestroyNoCliCheckTest.php Tests starting and destroying a session from the CLI.
SessionManagerDestroyNoCliCheckTest.php file core/tests/Drupal/KernelTests/Core/Session/SessionManagerDestroyNoCliCheckTest.php
SessionManagerDestroyNoCliCheckTest::testCallSessionManagerStartAndDestroy function core/tests/Drupal/KernelTests/Core/Session/SessionManagerDestroyNoCliCheckTest.php Tests starting and destroying a session from the CLI.
SessionManagerInterface::destroy function core/lib/Drupal/Core/Session/SessionManagerInterface.php Destroys the current session and removes session cookies.
Sql::destroy function core/modules/migrate/src/Plugin/migrate/id_map/Sql.php Removes any persistent storage used by this map.
StageBase::computeDestroyMessage function core/modules/package_manager/src/StageBase.php Returns the specific destroy message for the ID.
StageBase::destroy function core/modules/package_manager/src/StageBase.php Deletes the stage directory.
StageBase::storeDestroyInfo function core/modules/package_manager/src/StageBase.php Stores information about the stage when it is destroyed.
StageBase::TEMPSTORE_DESTROYED_STAGES_INFO_PREFIX constant core/modules/package_manager/src/StageBase.php The tempstore key for information about previously destroyed stages.
StageBaseTest::providerStoreDestroyInfo function core/modules/package_manager/tests/src/Kernel/StageBaseTest.php Data provider for testStoreDestroyInfo().
StageBaseTest::testStoreDestroyInfo function core/modules/package_manager/tests/src/Kernel/StageBaseTest.php Tests exceptions thrown because of previously destroyed stage.
StageConflictTest::providerDestroyDuringApply function core/modules/package_manager/tests/src/Kernel/StageConflictTest.php Data provider for testDestroyDuringApply().
StageConflictTest::testDestroyDuringApply function core/modules/package_manager/tests/src/Kernel/StageConflictTest.php Tests destroying a stage while applying it.
StageOwnershipTest::testForceDestroy function core/modules/package_manager/tests/src/Kernel/StageOwnershipTest.php Tests a stage being destroyed by a user who doesn't own it.
StylePluginBase::destroy function core/modules/views/src/Plugin/views/style/StylePluginBase.php Clears a plugin.
TestSessionHandlerProxy::destroy function core/modules/system/tests/modules/session_test/src/Session/TestSessionHandlerProxy.php
ViewExecutable::destroy function core/modules/views/src/ViewExecutable.php Unsets references so that a $view object may be properly garbage collected.
ViewExecutableTest::assertViewDestroy function core/modules/views/tests/src/Kernel/ViewExecutableTest.php Asserts that expected view properties have been unset by destroy().
ViewExecutableTest::testDestroy function core/modules/views/tests/src/Kernel/ViewExecutableTest.php Tests the destructor to be sure that necessary objects are removed.
views.view.test_destroy.yml file core/modules/views/tests/modules/views_test_config/test_views/views.view.test_destroy.yml core/modules/views/tests/modules/views_test_config/test_views/views.view.test_destroy.yml
ViewsPluginInterface::destroy function core/modules/views/src/Plugin/views/ViewsPluginInterface.php Clears a plugin.
WriteSafeSessionHandler::destroy function core/lib/Drupal/Core/Session/WriteSafeSessionHandler.php

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