src/Plugin/EntityBrowser/SelectionDisplay/MultiStepDisplay.php 1 location
|
@@ 55-64 (lines=10) @@
|
| 52 |
|
/** |
| 53 |
|
* {@inheritdoc} |
| 54 |
|
*/ |
| 55 |
|
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) { |
| 56 |
|
return new static( |
| 57 |
|
$configuration, |
| 58 |
|
$plugin_id, |
| 59 |
|
$plugin_definition, |
| 60 |
|
$container->get('event_dispatcher'), |
| 61 |
|
$container->get('entity.manager'), |
| 62 |
|
$container->get('plugin.manager.entity_browser.field_widget_display') |
| 63 |
|
); |
| 64 |
|
} |
| 65 |
|
/** |
| 66 |
|
* {@inheritdoc} |
| 67 |
|
*/ |
src/Plugin/EntityBrowser/Widget/View.php 1 location
|
@@ 52-61 (lines=10) @@
|
| 49 |
|
/** |
| 50 |
|
* {@inheritdoc} |
| 51 |
|
*/ |
| 52 |
|
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) { |
| 53 |
|
return new static( |
| 54 |
|
$configuration, |
| 55 |
|
$plugin_id, |
| 56 |
|
$plugin_definition, |
| 57 |
|
$container->get('event_dispatcher'), |
| 58 |
|
$container->get('entity.manager'), |
| 59 |
|
$container->get('current_user') |
| 60 |
|
); |
| 61 |
|
} |
| 62 |
|
|
| 63 |
|
/** |
| 64 |
|
* Constructs a new View object. |