Completed
Push — 8.x-1.x ( 69a51f...6097a3 )
by Janez
04:37 queued 01:07
created
src/Plugin/EntityBrowser/Display/Modal.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@  discard block
 block discarded – undo
12 12
 use Drupal\Core\Entity\EntityInterface;
13 13
 use Drupal\Core\Routing\RouteMatchInterface;
14 14
 use Drupal\Core\Url;
15
-use Drupal\entity_browser\DisplayAjaxInterface;
16 15
 use Drupal\entity_browser\DisplayBase;
17 16
 use Drupal\entity_browser\DisplayRouterInterface;
18 17
 use Drupal\entity_browser\Events\Events;
@@ -21,7 +20,6 @@  discard block
 block discarded – undo
21 20
 use Symfony\Component\EventDispatcher\EventDispatcherInterface;
22 21
 use Drupal\Core\Path\CurrentPathStack;
23 22
 use Drupal\Core\Ajax\AjaxResponse;
24
-use Drupal\Core\Ajax\CloseDialogCommand;
25 23
 use Drupal\entity_browser\Ajax\SelectEntitiesCommand;
26 24
 use Symfony\Component\HttpKernel\Event\FilterResponseEvent;
27 25
 use Symfony\Component\HttpKernel\KernelEvents;
Please login to merge, or discard this patch.
src/Plugin/Field/FieldWidget/EntityReference.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -16,8 +16,6 @@
 block discarded – undo
16 16
 use Drupal\Core\Field\WidgetBase;
17 17
 use Drupal\Core\Form\FormStateInterface;
18 18
 use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
19
-use Drupal\entity_browser\Events\Events;
20
-use Drupal\entity_browser\Events\RegisterJSCallbacks;
21 19
 use Drupal\entity_browser\FieldWidgetDisplayManager;
22 20
 use Symfony\Component\DependencyInjection\ContainerInterface;
23 21
 use Symfony\Component\EventDispatcher\EventDispatcherInterface;
Please login to merge, or discard this patch.
src/EntityBrowserInterface.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 namespace Drupal\entity_browser;
9 9
 
10 10
 use Drupal\Core\Config\Entity\ConfigEntityInterface;
11
-use Drupal\Core\Form\FormStateInterface;
12 11
 
13 12
 /**
14 13
  * Provides an interface defining an entity browser entity.
Please login to merge, or discard this patch.
src/Form/GeneralInfoConfig.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 use Drupal\entity_browser\SelectionDisplayManager;
14 14
 use Drupal\entity_browser\WidgetManager;
15 15
 use Drupal\entity_browser\WidgetSelectorManager;
16
-use Drupal\user\SharedTempStoreFactory;
17 16
 use Symfony\Component\DependencyInjection\ContainerInterface;
18 17
 
19 18
 /**
Please login to merge, or discard this patch.
src/Plugin/EntityBrowser/SelectionDisplay/MultiStepDisplay.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Drupal\entity_browser\Plugin\EntityBrowser\SelectionDisplay;
4 4
 
5
-use Drupal\Component\Utility\Html;
6 5
 use Drupal\Core\Entity\EntityManagerInterface;
7 6
 use Drupal\Core\Form\FormStateInterface;
8 7
 use Drupal\entity_browser\FieldWidgetDisplayManager;
Please login to merge, or discard this patch.