diff --git a/core/modules/book/lib/Drupal/book/Form/BookAdminEditForm.php b/core/modules/book/lib/Drupal/book/Form/BookAdminEditForm.php index 993048a..d32e83a 100644 --- a/core/modules/book/lib/Drupal/book/Form/BookAdminEditForm.php +++ b/core/modules/book/lib/Drupal/book/Form/BookAdminEditForm.php @@ -11,6 +11,7 @@ use Drupal\Component\Utility\Crypt; use Drupal\Core\Entity\EntityInterface; use Drupal\Core\Entity\EntityStorageControllerInterface; +use Drupal\menu_link\MenuLinkStorageControllerInterface; use Drupal\Core\Cache\CacheBackendInterface; use Drupal\Core\Language\Language; use Drupal\Core\DependencyInjection\ContainerInjectionInterface; @@ -38,7 +39,7 @@ class BookAdminEditForm extends FormBase implements ContainerInjectionInterface /** * The menu link storage controller. * - * @var \Drupal\Core\Entity\EntityStorageControllerInterface + * @var \Drupal\menu_link\MenuLinkStorageControllerInterface */ protected $menuLinkStorage; @@ -51,10 +52,10 @@ class BookAdminEditForm extends FormBase implements ContainerInjectionInterface * @param \Drupal\Core\Entity\EntityStorageControllerInterface $node_storage * The custom block storage controller. * - * @param \Drupal\Core\Entity\EntityStorageControllerInterface $menu_link_storage + * @param \Drupal\Core\Entity\MenuLinkStorageControllerInterface $menu_link_storage * The custom block type storage controller. */ - public function __construct(CacheBackendInterface $cache, EntityStorageControllerInterface $node_storage, EntityStorageControllerInterface $menu_link_storage) { + public function __construct(CacheBackendInterface $cache, EntityStorageControllerInterface $node_storage, MenuLinkStorageControllerInterface $menu_link_storage) { $this->cache = $cache; $this->nodeStorage = $node_storage; $this->menuLinkStorage = $menu_link_storage;