path.current

Same name in other branches
  1. 8.9.x core/core.services.yml \path.current
  2. 10 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

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.