path.current

Same name and namespace in other branches
  1. 11.x core/core.services.yml \path.current
  2. 10 core/core.services.yml \path.current
  3. 9 core/core.services.yml \path.current
  4. 8.9.x core/core.services.yml \path.current

Class

Drupal\Core\Path\CurrentPathStack
7 string references to path.current
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
Instantiates a new instance of the implementing class using autowiring.
RequestPathTest::setUp in core/tests/Drupal/KernelTests/Core/Plugin/Condition/RequestPathTest.php

... 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.