Issue #2209029 by pwolanin: Follow-up: clean up use statements in book module code.
parent
1ed138b481
commit
09c0a74e70
|
@ -5,10 +5,6 @@
|
||||||
* Administration page callbacks for the Book module.
|
* 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.
|
* Returns HTML for a book administration form.
|
||||||
*
|
*
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
|
|
||||||
namespace Drupal\book\Access;
|
namespace Drupal\book\Access;
|
||||||
|
|
||||||
use Drupal\book\BookManager;
|
|
||||||
use Drupal\book\BookManagerInterface;
|
use Drupal\book\BookManagerInterface;
|
||||||
use Drupal\Core\Routing\Access\AccessInterface;
|
use Drupal\Core\Routing\Access\AccessInterface;
|
||||||
use Drupal\Core\Session\AccountInterface;
|
use Drupal\Core\Session\AccountInterface;
|
||||||
|
|
|
@ -9,7 +9,6 @@ namespace Drupal\book;
|
||||||
|
|
||||||
use Drupal\Core\Entity\EntityManagerInterface;
|
use Drupal\Core\Entity\EntityManagerInterface;
|
||||||
use Drupal\node\NodeInterface;
|
use Drupal\node\NodeInterface;
|
||||||
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides methods for exporting book to different formats.
|
* Provides methods for exporting book to different formats.
|
||||||
|
|
|
@ -10,9 +10,7 @@ namespace Drupal\book;
|
||||||
use Drupal\Component\Utility\Unicode;
|
use Drupal\Component\Utility\Unicode;
|
||||||
use Drupal\Core\Cache\Cache;
|
use Drupal\Core\Cache\Cache;
|
||||||
use Drupal\Core\Database\Connection;
|
use Drupal\Core\Database\Connection;
|
||||||
use Drupal\Core\Entity\EntityInterface;
|
|
||||||
use Drupal\Core\Entity\EntityManagerInterface;
|
use Drupal\Core\Entity\EntityManagerInterface;
|
||||||
use Drupal\Core\Language\Language;
|
|
||||||
use Drupal\Core\Session\AccountInterface;
|
use Drupal\Core\Session\AccountInterface;
|
||||||
use Drupal\Core\StringTranslation\TranslationInterface;
|
use Drupal\Core\StringTranslation\TranslationInterface;
|
||||||
use Drupal\Core\Config\ConfigFactoryInterface;
|
use Drupal\Core\Config\ConfigFactoryInterface;
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
|
|
||||||
namespace Drupal\book\Controller;
|
namespace Drupal\book\Controller;
|
||||||
|
|
||||||
use Drupal\book\BookManager;
|
|
||||||
use Drupal\book\BookExport;
|
use Drupal\book\BookExport;
|
||||||
use Drupal\book\BookManagerInterface;
|
use Drupal\book\BookManagerInterface;
|
||||||
use Drupal\Core\DependencyInjection\ContainerInjectionInterface;
|
use Drupal\Core\DependencyInjection\ContainerInjectionInterface;
|
||||||
|
|
|
@ -12,7 +12,6 @@ use Drupal\Component\Utility\Crypt;
|
||||||
use Drupal\Core\Cache\CacheBackendInterface;
|
use Drupal\Core\Cache\CacheBackendInterface;
|
||||||
use Drupal\Core\Entity\EntityStorageControllerInterface;
|
use Drupal\Core\Entity\EntityStorageControllerInterface;
|
||||||
use Drupal\Core\Form\FormBase;
|
use Drupal\Core\Form\FormBase;
|
||||||
use Drupal\menu_link\MenuLinkStorageControllerInterface;
|
|
||||||
use Drupal\node\NodeInterface;
|
use Drupal\node\NodeInterface;
|
||||||
use Symfony\Component\DependencyInjection\ContainerInterface;
|
use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
|
|
||||||
namespace Drupal\book\Tests;
|
namespace Drupal\book\Tests;
|
||||||
|
|
||||||
use Drupal\Core\Language\Language;
|
|
||||||
use Drupal\Core\Entity\EntityInterface;
|
use Drupal\Core\Entity\EntityInterface;
|
||||||
use Drupal\simpletest\WebTestBase;
|
use Drupal\simpletest\WebTestBase;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue