Commit 09c0a74e authored by webchick's avatar webchick

Issue #2209029 by pwolanin: Follow-up: clean up use statements in book module code.

parent 1ed138b4
......@@ -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.
*
......
......@@ -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;
......
......@@ -9,7 +9,6 @@
use Drupal\Core\Entity\EntityManagerInterface;
use Drupal\node\NodeInterface;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
/**
* Provides methods for exporting book to different formats.
......
......@@ -10,9 +10,7 @@
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;
......
......@@ -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;
......
......@@ -12,7 +12,6 @@
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;
......
......@@ -7,7 +7,6 @@
namespace Drupal\book\Tests;
use Drupal\Core\Language\Language;
use Drupal\Core\Entity\EntityInterface;
use Drupal\simpletest\WebTestBase;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment