diff --git a/core/modules/taxonomy/lib/Drupal/taxonomy/Form/TermDeleteForm.php b/core/modules/taxonomy/lib/Drupal/taxonomy/Form/TermDeleteForm.php index 8f0b750..1e610cb 100644 --- a/core/modules/taxonomy/lib/Drupal/taxonomy/Form/TermDeleteForm.php +++ b/core/modules/taxonomy/lib/Drupal/taxonomy/Form/TermDeleteForm.php @@ -9,7 +9,7 @@ use Symfony\Component\DependencyInjection\ContainerInterface; use Drupal\Core\Entity\EntityControllerInterface; -use Drupal\Core\Entity\EntityStorageControllerInterface; +use Drupal\taxonomy\VocabularyStorageControllerInterface; use Drupal\Core\Entity\EntityNGConfirmFormBase; use Drupal\Core\Extension\ModuleHandlerInterface; use Drupal\Core\Cache\Cache; @@ -32,7 +32,7 @@ class TermDeleteForm extends EntityNGConfirmFormBase implements EntityController * @param \Drupal\Core\Entity\EntityStorageControllerInterface $storage_controller * The Entity manager. */ - public function __construct(ModuleHandlerInterface $module_handler, EntityStorageControllerInterface $storage_controller) { + public function __construct(ModuleHandlerInterface $module_handler, VocabularyStorageControllerInterface $storage_controller) { parent::__construct($module_handler); $this->storageController = $storage_controller; }