@@ -12,7 +12,6 @@ discard block |
||
| 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 |
||
| 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; |
@@ -16,8 +16,6 @@ |
||
| 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; |
@@ -8,7 +8,6 @@ |
||
| 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. |
@@ -13,7 +13,6 @@ |
||
| 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 | /** |
@@ -2,7 +2,6 @@ |
||
| 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; |