public function ExternalHreflangGetCurrentUrlEventSubscriber::__construct in External Hreflang 8
ExternalHreflangGetCurrentUrlEventSubscriber constructor.
Parameters
\Drupal\Core\Path\PathMatcherInterface $path_matcher: The path matcher.
\Symfony\Component\HttpFoundation\RequestStack $request_stack: The request stack.
File
- src/
EventSubscriber/ ExternalHreflangGetCurrentUrlEventSubscriber.php, line 40
Class
- ExternalHreflangGetCurrentUrlEventSubscriber
- Subscriber for ExternalHreflangGetCurrentUrlEvent.
Namespace
Drupal\external_hreflang\EventSubscriberCode
public function __construct(PathMatcherInterface $path_matcher, RequestStack $request_stack) {
$this->pathMatcher = $path_matcher;
$this->requestStack = $request_stack;
}