Search for entityDelete

  1. Search 7.x for entityDelete
  2. Search 9.5.x for entityDelete
  3. Search 8.9.x for entityDelete
  4. Search 10.3.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
ContentEntityDeleteForm::getCancelUrl function core/lib/Drupal/Core/Entity/ContentEntityDeleteForm.php
ContentEntityDeleteForm::getDeletionMessage function core/lib/Drupal/Core/Entity/ContentEntityDeleteForm.php
ContentEntityDeleteForm::getQuestion function core/lib/Drupal/Core/Entity/ContentEntityDeleteForm.php
ContentEntityDeleteForm::logDeletionMessage function core/lib/Drupal/Core/Entity/ContentEntityDeleteForm.php
ContentEntityDeleteForm::submitForm function core/lib/Drupal/Core/Entity/ContentEntityDeleteForm.php
ContentModerationHooks::entityDelete function core/modules/content_moderation/src/Hook/ContentModerationHooks.php Implements hook_entity_delete().
EditorHooks::entityDelete function core/modules/editor/src/Hook/EditorHooks.php Implements hook_entity_delete().
EntityCrudHookTestHooks::entityDelete function core/modules/system/tests/modules/entity_crud_hook_test/src/Hook/EntityCrudHookTestHooks.php Implements hook_entity_delete().
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
EntityDeleteActionDeriver::isApplicable function core/lib/Drupal/Core/Action/Plugin/Action/Derivative/EntityDeleteActionDeriver.php
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
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.
JsonapiHooks::entityDelete function core/modules/jsonapi/src/Hook/JsonapiHooks.php Implements hook_entity_delete().
LayoutBuilderHooks::entityDelete function core/modules/layout_builder/src/Hook/LayoutBuilderHooks.php Implements hook_entity_delete().
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.
WorkspaceEntityDeleteTest class core/modules/workspaces/tests/src/Kernel/WorkspaceEntityDeleteTest.php Tests entity deletions with workspaces.
WorkspaceEntityDeleteTest class core/modules/workspaces/tests/src/Functional/WorkspaceEntityDeleteTest.php Tests entity deletions with workspaces.
WorkspaceEntityDeleteTest.php file core/modules/workspaces/tests/src/Kernel/WorkspaceEntityDeleteTest.php
WorkspaceEntityDeleteTest.php file core/modules/workspaces/tests/src/Functional/WorkspaceEntityDeleteTest.php

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