@@ -279,7 +279,7 @@ |
||
279 | 279 | /** |
280 | 280 | * Helper function to return commands to return in AjaxResponse. |
281 | 281 | * |
282 | - * @return array |
|
282 | + * @return SelectEntitiesCommand[] |
|
283 | 283 | * An array of ajax commands. |
284 | 284 | */ |
285 | 285 | public function getAjaxCommands(FormStateInterface $form_state) { |
@@ -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. |
@@ -34,9 +34,7 @@ |
||
34 | 34 | * The entity manager. |
35 | 35 | * @param $tempstore_id |
36 | 36 | * The shared temp store factory collection name. |
37 | - * @param null $machine_name |
|
38 | - * The SharedTempStore key for our current wizard values. |
|
39 | - * @param null $step |
|
37 | + * @param string|null $step |
|
40 | 38 | * The current active step of the wizard. |
41 | 39 | */ |
42 | 40 | public function __construct(SharedTempStoreFactory $tempstore, FormBuilderInterface $builder, ClassResolverInterface $class_resolver, EventDispatcherInterface $event_dispatcher, EntityManagerInterface $entity_manager, RouteMatchInterface $route_match, $tempstore_id, $entity_browser = NULL, $step = 'general') { |
@@ -276,7 +276,7 @@ |
||
276 | 276 | /** |
277 | 277 | * Run widget validators. |
278 | 278 | * |
279 | - * @param array $entities |
|
279 | + * @param \Drupal\Core\Entity\EntityInterface[] $entities |
|
280 | 280 | * Array of entity ids to validate. |
281 | 281 | * @param array $validators |
282 | 282 | * Array of widget validator ids. |
@@ -81,8 +81,6 @@ |
||
81 | 81 | * Field widget display plugin manager. |
82 | 82 | * @param \Drupal\Core\Config\ConfigFactoryInterface $config_factory |
83 | 83 | * The config factory. |
84 | - * @param \Drupal\Core\Image\ImageFactory $image_factory |
|
85 | - * The image factory. |
|
86 | 84 | * @param \Drupal\Core\Entity\EntityDisplayRepositoryInterface $display_repository |
87 | 85 | * The entity display repository service. |
88 | 86 | */ |