Search for entityDelete

  1. Search 7.x for entityDelete
  2. Search 8.9.x for entityDelete
  3. Search 10.3.x for entityDelete
  4. Search 11.x for entityDelete
  5. Other projects
Title Object type File name Summary
ConfigDependencyTest::testConfigEntityDelete function core/tests/Drupal/KernelTests/Core/Config/ConfigDependencyTest.php Tests deleting a configuration entity and dependency management.
ConfigDependencyTest::testContentEntityDelete function core/tests/Drupal/KernelTests/Core/Config/ConfigDependencyTest.php Tests getConfigEntitiesToChangeOnDependencyRemoval() with content entities.
ContentEntityDeleteForm class core/lib/Drupal/Core/Entity/ContentEntityDeleteForm.php Provides a generic base class for a content entity deletion form.
ContentEntityDeleteForm.php file core/lib/Drupal/Core/Entity/ContentEntityDeleteForm.php
ContentEntityDeleteForm::buildForm function core/lib/Drupal/Core/Entity/ContentEntityDeleteForm.php Form constructor.
ContentEntityDeleteForm::getCancelUrl function core/lib/Drupal/Core/Entity/ContentEntityDeleteForm.php Returns the route to go to if the user cancels the action.
ContentEntityDeleteForm::getDeletionMessage function core/lib/Drupal/Core/Entity/ContentEntityDeleteForm.php
ContentEntityDeleteForm::getQuestion function core/lib/Drupal/Core/Entity/ContentEntityDeleteForm.php Returns the question to ask the user.
ContentEntityDeleteForm::logDeletionMessage function core/lib/Drupal/Core/Entity/ContentEntityDeleteForm.php
ContentEntityDeleteForm::submitForm function core/lib/Drupal/Core/Entity/ContentEntityDeleteForm.php This is the default entity object builder function. It is called before any
other submit handler to build the new entity object to be used by the
following submit handlers. At this point of the form workflow the entity is
validated and the form stateā€¦
EntityDeleteActionDeriver class core/lib/Drupal/Core/Action/Plugin/Action/Derivative/EntityDeleteActionDeriver.php Provides an action deriver that finds entity types with delete form.
EntityDeleteActionDeriver.php file core/lib/Drupal/Core/Action/Plugin/Action/Derivative/EntityDeleteActionDeriver.php
EntityDeleteActionDeriver::getDerivativeDefinitions function core/lib/Drupal/Core/Action/Plugin/Action/Derivative/EntityDeleteActionDeriver.php Gets the definition of all derivatives of a base plugin.
EntityDeleteActionDeriver::isApplicable function core/lib/Drupal/Core/Action/Plugin/Action/Derivative/EntityDeleteActionDeriver.php Indicates whether the deriver can be used for the provided entity type.
EntityDeleteForm class core/lib/Drupal/Core/Entity/EntityDeleteForm.php Provides a generic base class for an entity deletion form.
EntityDeleteForm.php file core/lib/Drupal/Core/Entity/EntityDeleteForm.php
EntityDeleteForm::buildForm function core/lib/Drupal/Core/Entity/EntityDeleteForm.php Form constructor.
EntityDeleteForm::getConfigManager function core/lib/Drupal/Core/Entity/EntityDeleteForm.php Gets the configuration manager.
EntityDeleteForm::getConfigNamesToDelete function core/lib/Drupal/Core/Entity/EntityDeleteForm.php Returns config names to delete for the deletion confirmation form.
EntityDeleteFormTrait trait core/lib/Drupal/Core/Entity/EntityDeleteFormTrait.php Provides a trait for an entity deletion form.
EntityDeleteFormTrait.php file core/lib/Drupal/Core/Entity/EntityDeleteFormTrait.php
EntityDeleteFormTrait::getCancelUrl function core/lib/Drupal/Core/Entity/EntityDeleteFormTrait.php
EntityDeleteFormTrait::getConfirmText function core/lib/Drupal/Core/Entity/EntityDeleteFormTrait.php
EntityDeleteFormTrait::getDeletionMessage function core/lib/Drupal/Core/Entity/EntityDeleteFormTrait.php Gets the message to display to the user after deleting the entity.
EntityDeleteFormTrait::getEntity function core/lib/Drupal/Core/Entity/EntityDeleteFormTrait.php Gets the entity of this form.
EntityDeleteFormTrait::getQuestion function core/lib/Drupal/Core/Entity/EntityDeleteFormTrait.php
EntityDeleteFormTrait::getRedirectUrl function core/lib/Drupal/Core/Entity/EntityDeleteFormTrait.php Returns the URL where the user should be redirected after deletion.
EntityDeleteFormTrait::logDeletionMessage function core/lib/Drupal/Core/Entity/EntityDeleteFormTrait.php Logs a message about the deleted entity.
EntityDeleteFormTrait::logger function core/lib/Drupal/Core/Entity/EntityDeleteFormTrait.php Gets the logger for a specific channel.
EntityDeleteFormTrait::submitForm function core/lib/Drupal/Core/Entity/EntityDeleteFormTrait.php
EntityDeleteMultipleAccessCheck class core/lib/Drupal/Core/Entity/EntityDeleteMultipleAccessCheck.php Checks if the current user has delete access to the items of the tempstore.
EntityDeleteMultipleAccessCheck.php file core/lib/Drupal/Core/Entity/EntityDeleteMultipleAccessCheck.php
EntityDeleteMultipleAccessCheck::$entityTypeManager property core/lib/Drupal/Core/Entity/EntityDeleteMultipleAccessCheck.php The entity type manager.
EntityDeleteMultipleAccessCheck::$requestStack property core/lib/Drupal/Core/Entity/EntityDeleteMultipleAccessCheck.php Request stack service.
EntityDeleteMultipleAccessCheck::$tempStore property core/lib/Drupal/Core/Entity/EntityDeleteMultipleAccessCheck.php The tempstore service.
EntityDeleteMultipleAccessCheck::access function core/lib/Drupal/Core/Entity/EntityDeleteMultipleAccessCheck.php Checks if the user has delete access for at least one item of the store.
EntityDeleteMultipleAccessCheck::__construct function core/lib/Drupal/Core/Entity/EntityDeleteMultipleAccessCheck.php Constructs a new EntityDeleteMultipleAccessCheck.
EntityOperations::entityDelete function core/modules/content_moderation/src/EntityOperations.php
FieldAttachStorageTest::testEntityDeleteBundle function core/modules/field/tests/src/Kernel/FieldAttachStorageTest.php Tests entity_bundle_delete().
InlineBlockEntityOperations::handleEntityDelete function core/modules/layout_builder/src/InlineBlockEntityOperations.php Handles entity tracking on deleting a parent entity.
MenuLinksTest::testMenuLinkOnEntityDelete function core/modules/menu_link_content/tests/src/Kernel/MenuLinksTest.php Tests that menu link pointing to entities get removed on entity remove.
WorkspaceIntegrationTest::testDisallowedEntityDeleteInNonDefaultWorkspace function core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php Tests DELETE operations for unsupported entity types.

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