diff --git a/core/modules/shortcut/lib/Drupal/shortcut/ShortcutFormController.php b/core/modules/shortcut/lib/Drupal/shortcut/ShortcutFormController.php index 6e1d7d1..7179886 100644 --- a/core/modules/shortcut/lib/Drupal/shortcut/ShortcutFormController.php +++ b/core/modules/shortcut/lib/Drupal/shortcut/ShortcutFormController.php @@ -36,13 +36,6 @@ class ShortcutFormController extends ContentEntityFormController { protected $urlGenerator; /** - * The entity query factory. - * - * @var \Drupal\Core\Entity\Query\QueryFactory - */ - protected $entityQueryFactory; - - /** * The form builder. * * @var \Drupal\Core\Form\FormBuilderInterface @@ -58,16 +51,13 @@ class ShortcutFormController extends ContentEntityFormController { * The path alias manager. * @param \Drupal\Core\Routing\UrlGeneratorInterface $url_generator * The URL generator. - * @param \Drupal\Core\Entity\Query\QueryFactory $entity_query_factory - * The entity query factory. * @param \Drupal\Core\Form\FormBuilderInterface $form_builder * The form builder. */ - public function __construct(EntityManagerInterface $entity_manager, AliasManagerInterface $alias_manager, UrlGeneratorInterface $url_generator, QueryFactory $entity_query_factory, FormBuilderInterface $form_builder) { + public function __construct(EntityManagerInterface $entity_manager, AliasManagerInterface $alias_manager, UrlGeneratorInterface $url_generator, FormBuilderInterface $form_builder) { $this->entityManager = $entity_manager; $this->aliasManager = $alias_manager; $this->urlGenerator = $url_generator; - $this->entityQueryFactory = $entity_query_factory; $this->formBuilder = $form_builder; } @@ -79,7 +69,6 @@ public static function create(ContainerInterface $container) { $container->get('entity.manager'), $container->get('path.alias_manager'), $container->get('url_generator'), - $container->get('entity.query'), $container->get('form_builder') ); }