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

Breadcrumb

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

function RoutePreloader::__construct

Constructs a new RoutePreloader.

Parameters

\Drupal\Core\Routing\RouteProviderInterface $routeProvider: The route provider.

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

File

core/lib/Drupal/Core/Routing/RoutePreloader.php, line 35

Class

RoutePreloader
Defines a class that can pre-load non-admin routes.

Namespace

Drupal\Core\Routing

Code

public function __construct(RouteProviderInterface $routeProvider, StateInterface $state) {
}

API Navigation

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