@@ -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; |
@@ -7,7 +7,6 @@ |
||
| 7 | 7 | |
| 8 | 8 | namespace Drupal\entity_browser\Plugin\views\display; |
| 9 | 9 | |
| 10 | -use Drupal\Core\DependencyInjection\DependencySerializationTrait; |
|
| 11 | 10 | use Drupal\views\Plugin\views\display\DisplayPluginBase; |
| 12 | 11 | |
| 13 | 12 | /** |
@@ -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; |