You are here

public function LazyRouteFilter::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Routing/LazyRouteFilter.php \Drupal\Core\Routing\LazyRouteFilter::__construct()

Constructs the LazyRouteEnhancer object.

Parameters

$service_ids: Array of route filter service IDs.

File

core/lib/Drupal/Core/Routing/LazyRouteFilter.php, line 48
Contains \Drupal\Core\Routing\LazyRouteFilter.

Class

LazyRouteFilter
A route filter which lazily loads route filters, depending on the route.

Namespace

Drupal\Core\Routing

Code

public function __construct($service_ids) {
  $this->serviceIds = $service_ids;
}