Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. PathRootsSubscriber.php

function PathRootsSubscriber::__construct

Constructs a new PathRootsSubscriber instance.

Parameters

\Drupal\Core\State\StateInterface $state: The state key value store.

File

core/lib/Drupal/Core/EventSubscriber/PathRootsSubscriber.php, line 38

Class

PathRootsSubscriber
Provides all available first bits of all route paths.

Namespace

Drupal\Core\EventSubscriber

Code

public function __construct(StateInterface $state) {
    $this->state = $state;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal