diff -u b/src/Plugin/Action/Derivative/DeleteActionDeriver.php b/src/Plugin/Action/Derivative/DeleteActionDeriver.php --- b/src/Plugin/Action/Derivative/DeleteActionDeriver.php +++ b/src/Plugin/Action/Derivative/DeleteActionDeriver.php @@ -7,6 +7,7 @@ use Drupal\Core\Entity\EntityTypeInterface; use Drupal\Core\Entity\EntityTypeManagerInterface; use Symfony\Component\DependencyInjection\ContainerInterface; +use Drupal\Core\StringTranslation\StringTranslationTrait; /** * Provides a delete action for each content entity type. @@ -15,6 +16,8 @@ */ class DeleteActionDeriver extends DeriverBase implements ContainerDeriverInterface { + use StringTranslationTrait; + /** * The entity type manager. *