diff --git a/core/modules/book/book.admin.inc b/core/modules/book/book.admin.inc index e2c5141dc0a0..07d4552be9a8 100644 --- a/core/modules/book/book.admin.inc +++ b/core/modules/book/book.admin.inc @@ -5,10 +5,6 @@ * Administration page callbacks for the Book module. */ -use Drupal\Component\Utility\Crypt; -use Drupal\Core\Entity\EntityInterface; -use Drupal\Core\Language\Language; - /** * Returns HTML for a book administration form. * diff --git a/core/modules/book/lib/Drupal/book/Access/BookNodeIsRemovableAccessCheck.php b/core/modules/book/lib/Drupal/book/Access/BookNodeIsRemovableAccessCheck.php index 2ca533070245..6a5385c1dc0c 100644 --- a/core/modules/book/lib/Drupal/book/Access/BookNodeIsRemovableAccessCheck.php +++ b/core/modules/book/lib/Drupal/book/Access/BookNodeIsRemovableAccessCheck.php @@ -7,7 +7,6 @@ namespace Drupal\book\Access; -use Drupal\book\BookManager; use Drupal\book\BookManagerInterface; use Drupal\Core\Routing\Access\AccessInterface; use Drupal\Core\Session\AccountInterface; diff --git a/core/modules/book/lib/Drupal/book/BookExport.php b/core/modules/book/lib/Drupal/book/BookExport.php index c86e25c949a3..4d220c9779f7 100644 --- a/core/modules/book/lib/Drupal/book/BookExport.php +++ b/core/modules/book/lib/Drupal/book/BookExport.php @@ -9,7 +9,6 @@ namespace Drupal\book; use Drupal\Core\Entity\EntityManagerInterface; use Drupal\node\NodeInterface; -use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; /** * Provides methods for exporting book to different formats. diff --git a/core/modules/book/lib/Drupal/book/BookManager.php b/core/modules/book/lib/Drupal/book/BookManager.php index 50a51895680c..3a099c5c8f20 100644 --- a/core/modules/book/lib/Drupal/book/BookManager.php +++ b/core/modules/book/lib/Drupal/book/BookManager.php @@ -10,9 +10,7 @@ namespace Drupal\book; use Drupal\Component\Utility\Unicode; use Drupal\Core\Cache\Cache; use Drupal\Core\Database\Connection; -use Drupal\Core\Entity\EntityInterface; use Drupal\Core\Entity\EntityManagerInterface; -use Drupal\Core\Language\Language; use Drupal\Core\Session\AccountInterface; use Drupal\Core\StringTranslation\TranslationInterface; use Drupal\Core\Config\ConfigFactoryInterface; diff --git a/core/modules/book/lib/Drupal/book/Controller/BookController.php b/core/modules/book/lib/Drupal/book/Controller/BookController.php index 8f66f779bd79..49a49476b535 100644 --- a/core/modules/book/lib/Drupal/book/Controller/BookController.php +++ b/core/modules/book/lib/Drupal/book/Controller/BookController.php @@ -7,7 +7,6 @@ namespace Drupal\book\Controller; -use Drupal\book\BookManager; use Drupal\book\BookExport; use Drupal\book\BookManagerInterface; use Drupal\Core\DependencyInjection\ContainerInjectionInterface; diff --git a/core/modules/book/lib/Drupal/book/Form/BookAdminEditForm.php b/core/modules/book/lib/Drupal/book/Form/BookAdminEditForm.php index 214823797712..41dfad2bdaea 100644 --- a/core/modules/book/lib/Drupal/book/Form/BookAdminEditForm.php +++ b/core/modules/book/lib/Drupal/book/Form/BookAdminEditForm.php @@ -12,7 +12,6 @@ use Drupal\Component\Utility\Crypt; use Drupal\Core\Cache\CacheBackendInterface; use Drupal\Core\Entity\EntityStorageControllerInterface; use Drupal\Core\Form\FormBase; -use Drupal\menu_link\MenuLinkStorageControllerInterface; use Drupal\node\NodeInterface; use Symfony\Component\DependencyInjection\ContainerInterface; diff --git a/core/modules/book/lib/Drupal/book/Tests/BookTest.php b/core/modules/book/lib/Drupal/book/Tests/BookTest.php index aa4758a89cf7..36f8e1272952 100644 --- a/core/modules/book/lib/Drupal/book/Tests/BookTest.php +++ b/core/modules/book/lib/Drupal/book/Tests/BookTest.php @@ -7,7 +7,6 @@ namespace Drupal\book\Tests; -use Drupal\Core\Language\Language; use Drupal\Core\Entity\EntityInterface; use Drupal\simpletest\WebTestBase;