@@ 92-98 (lines=7) @@ | ||
89 | * @param \Drupal\Core\Path\CurrentPathStack $current_path |
|
90 | * The current path. |
|
91 | */ |
|
92 | public function __construct(array $configuration, $plugin_id, $plugin_definition, EventDispatcherInterface $event_dispatcher, RouteMatchInterface $current_route_match, UuidInterface $uuid, Request $request, CurrentPathStack $current_path) { |
|
93 | parent::__construct($configuration, $plugin_id, $plugin_definition, $event_dispatcher); |
|
94 | $this->currentRouteMatch = $current_route_match; |
|
95 | $this->uuidGenerator = $uuid; |
|
96 | $this->request = $request; |
|
97 | $this->currentPath = $current_path; |
|
98 | } |
|
99 | ||
100 | /** |
|
101 | * {@inheritdoc} |
@@ 97-103 (lines=7) @@ | ||
94 | * @param \Drupal\Component\Uuid\UuidInterface |
|
95 | * UUID generator interface. |
|
96 | */ |
|
97 | public function __construct(array $configuration, $plugin_id, $plugin_definition, EventDispatcherInterface $event_dispatcher, RouteMatchInterface $current_route_match, UuidInterface $uuid, CurrentPathStack $current_path, Request $request) { |
|
98 | parent::__construct($configuration, $plugin_id, $plugin_definition, $event_dispatcher); |
|
99 | $this->currentRouteMatch = $current_route_match; |
|
100 | $this->uuidGenerator = $uuid; |
|
101 | $this->currentPath = $current_path; |
|
102 | $this->request = $request; |
|
103 | } |
|
104 | ||
105 | /** |
|
106 | * {@inheritdoc} |