@@ -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; |