@@ -59,8 +59,6 @@ discard block |
||
59 | 59 | /** |
60 | 60 | * Sets the id of the widget selector plugin |
61 | 61 | * |
62 | - * @param string $display |
|
63 | - * The id of the widget selector plugin. |
|
64 | 62 | * |
65 | 63 | * @return \Drupal\entity_browser\EntityBrowserInterface |
66 | 64 | * The class instance this method is called on. |
@@ -70,8 +68,6 @@ discard block |
||
70 | 68 | /** |
71 | 69 | * Sets the id of the selection display plugin |
72 | 70 | * |
73 | - * @param string $display |
|
74 | - * The id of the selection display plugin. |
|
75 | 71 | * |
76 | 72 | * @return \Drupal\entity_browser\EntityBrowserInterface |
77 | 73 | * The class instance this method is called on. |
@@ -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. |
@@ -61,7 +61,7 @@ |
||
61 | 61 | * |
62 | 62 | * @param \Drupal\entity_browser\DisplayManager $display_manager |
63 | 63 | * Entity browser display plugin manager. |
64 | - * @param \Drupal\entity_browser\WidgetSelectorManager $widget_selector |
|
64 | + * @param \Drupal\entity_browser\WidgetSelectorManager $widget_selector_manager |
|
65 | 65 | * Entity browser widget selector plugin manager. |
66 | 66 | * @param \Drupal\entity_browser\SelectionDisplayManager |
67 | 67 | * Entity browser selection display plugin manager. |
@@ -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\SharedTempStore; |
|
17 | 16 | use Drupal\user\SharedTempStoreFactory; |
18 | 17 | use Symfony\Component\DependencyInjection\ContainerInterface; |
19 | 18 |
@@ -32,10 +32,6 @@ |
||
32 | 32 | /** |
33 | 33 | * Constructs GeneralInfoConfig form class. |
34 | 34 | * |
35 | - * @param \Drupal\entity_browser\DisplayManager $display_manager |
|
36 | - * Entity browser display plugin manager. |
|
37 | - * @param \Drupal\entity_browser\WidgetSelectorManager $widget_selector |
|
38 | - * Entity browser widget selector plugin manager. |
|
39 | 35 | * @param \Drupal\entity_browser\SelectionDisplayManager |
40 | 36 | * Entity browser selection display plugin manager. |
41 | 37 | */ |
@@ -80,7 +80,7 @@ |
||
80 | 80 | $form['widget'] = [ |
81 | 81 | '#type' => 'select', |
82 | 82 | '#title' => $this->t('Add widget plugin'), |
83 | - '#options' => ['_none_' => '- ' . $this->t('Select a widget to add it') . ' -'] + $widgets, |
|
83 | + '#options' => ['_none_' => '- '.$this->t('Select a widget to add it').' -'] + $widgets, |
|
84 | 84 | '#ajax' => [ |
85 | 85 | 'callback' => [get_class($this), 'addWidgetCallback'], |
86 | 86 | 'wrapper' => 'widgets', |