You are here

public function RouteService::__construct in Health Check Url 8

Same name and namespace in other branches
  1. 8.3 src/Routing/RouteService.php \Drupal\health_check_url\Routing\RouteService::__construct()
  2. 8.2 src/Routing/RouteService.php \Drupal\health_check_url\Routing\RouteService::__construct()

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.

File

src/Routing/RouteService.php, line 26

Class

RouteService
Route service class.

Namespace

Drupal\health_check_url\Routing

Code

public function __construct(ConfigFactoryInterface $config_factory) {
  $this->settings = $config_factory
    ->get('health_check_url.settings');
}