public function ConfigRebuildRoutes::__construct in Acquia Content Hub 8
Public constructor.
Parameters
\Drupal\Core\Routing\RouteBuilderInterface $route_builder: The Route Builder service.
File
- src/
EventSubscriber/ ConfigRebuildRoutes.php, line 32
Class
- ConfigRebuildRoutes
- A subscriber to rebuild routes whenever there is a change in configuration.
Namespace
Drupal\acquia_contenthub\EventSubscriberCode
public function __construct(RouteBuilderInterface $route_builder) {
$this->routeBuilder = $route_builder;
}