Skip to content

Issue #3250143 by tBKoT: Cannot delete the data_policy entity or it translation

Problem

When we try to delete the data_policy entity or its translation we receive an error Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException: The "data_policy" entity type did not specify a "delete" form class. in Drupal\Core\Entity\EntityTypeManager->getFormObject() (line 223 of core/lib/Drupal/Core/Entity/EntityTypeManager.php).

Solution

Add delete form to entity annotation.

Issue tracker

How to test

  • Go to the data policy list page
  • Try to delete any of data policy entity
Edited by Oleksandr Horbatiuk

Merge request reports

Loading