You are here

public function EnqueueForm::setRouteProvider in Warmer 8

Same name and namespace in other branches
  1. 2.x src/Form/EnqueueForm.php \Drupal\warmer\Form\EnqueueForm::setRouteProvider()

Sets the Route provider.

Parameters

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

File

src/Form/EnqueueForm.php, line 81

Class

EnqueueForm
A form to manually enqueue warming operations.

Namespace

Drupal\warmer\Form

Code

public function setRouteProvider(RouteProviderInterface $route_provider) {
  $this->routeProvider = $route_provider;
}