| @@ 76-81 (lines=6) @@ | ||
| 73 | * @param \Drupal\Core\Path\CurrentPathStack $current_path |
|
| 74 | * The current path. |
|
| 75 | */ |
|
| 76 | public function __construct(array $configuration, $plugin_id, $plugin_definition, EventDispatcherInterface $event_dispatcher, UuidInterface $uuid, RouteMatchInterface $current_route_match, Request $request, CurrentPathStack $current_path) { |
|
| 77 | parent::__construct($configuration, $plugin_id, $plugin_definition, $event_dispatcher, $uuid); |
|
| 78 | $this->currentRouteMatch = $current_route_match; |
|
| 79 | $this->request = $request; |
|
| 80 | $this->currentPath = $current_path; |
|
| 81 | } |
|
| 82 | ||
| 83 | /** |
|
| 84 | * {@inheritdoc} |
|
| @@ 81-86 (lines=6) @@ | ||
| 78 | * @param \Drupal\Core\Path\CurrentPathStack $current_path |
|
| 79 | * The current path. |
|
| 80 | */ |
|
| 81 | public function __construct(array $configuration, $plugin_id, $plugin_definition, EventDispatcherInterface $event_dispatcher, UuidInterface $uuid, RouteMatchInterface $current_route_match, CurrentPathStack $current_path, Request $request) { |
|
| 82 | parent::__construct($configuration, $plugin_id, $plugin_definition, $event_dispatcher, $uuid); |
|
| 83 | $this->currentRouteMatch = $current_route_match; |
|
| 84 | $this->currentPath = $current_path; |
|
| 85 | $this->request = $request; |
|
| 86 | } |
|
| 87 | ||
| 88 | /** |
|
| 89 | * {@inheritdoc} |
|