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