You are here

public function LazyRouteEnhancer::__construct in Zircon Profile 8

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

Constructs the LazyRouteEnhancer object.

Parameters

$service_ids: Array of enhancers service IDs.

File

core/lib/Drupal/Core/Routing/LazyRouteEnhancer.php, line 49
Contains \Drupal\Core\Routing\LazyRouteEnhancer.

Class

LazyRouteEnhancer
A route enhancer which lazily loads route enhancers, depending on the route.

Namespace

Drupal\Core\Routing

Code

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