@@ 52-62 (lines=11) @@ | ||
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_type.manager'), |
|
59 | $container->get('plugin.manager.entity_browser.widget_validation'), |
|
60 | $container->get('current_user') |
|
61 | ); |
|
62 | } |
|
63 | ||
64 | /** |
|
65 | * Constructs a new View object. |
@@ 98-107 (lines=10) @@ | ||
95 | /** |
|
96 | * {@inheritdoc} |
|
97 | */ |
|
98 | public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) { |
|
99 | return new static( |
|
100 | $configuration, |
|
101 | $plugin_id, |
|
102 | $plugin_definition, |
|
103 | $container->get('event_dispatcher'), |
|
104 | $container->get('entity_type.manager'), |
|
105 | $container->get('plugin.manager.entity_browser.widget_validation') |
|
106 | ); |
|
107 | } |
|
108 | ||
109 | /** |
|
110 | * {@inheritdoc} |