path.current

Same name in other branches
  1. 9 core/core.services.yml \path.current
  2. 8.9.x core/core.services.yml \path.current

Class

Drupal\Core\Path\CurrentPathStack
8 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::test200ThemeSuggestions in core/tests/Drupal/KernelTests/Core/Theme/RegistryTest.php
Tests page theme suggestions for 200 responses.
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.

... See full list

File

core/core.services.yml

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.