You are here

service path.current in Drupal 9

Same name and namespace in other branches
  1. 8 core/core.services.yml \path.current

Class

Drupal\Core\Path\CurrentPathStack
7 string references to path.current
Raw::create in core/modules/views/src/Plugin/views/argument_default/Raw.php
Creates an instance of the plugin.
RegistryTest::test40xThemeSuggestions in core/tests/Drupal/KernelTests/Core/Theme/RegistryTest.php
Tests page theme suggestions for 40x responses.
RegistryTest::testThemeSuggestions in core/tests/Drupal/KernelTests/Core/Theme/RegistryTest.php
Tests front node theme suggestion generation.
RequestPath::create in core/modules/system/src/Plugin/Condition/RequestPath.php
Creates an instance of the plugin.
RequestPathTest::setUp in core/tests/Drupal/KernelTests/Core/Plugin/Condition/RequestPathTest.php

... See full list

File

core/core.services.yml
core/core.services.yml

View source
  1. class: Drupal\Core\Path\CurrentPathStack
  2. arguments:
  3. - '@request_stack'