public function PathProcessorFront::__construct

Constructs a PathProcessorFront object.

Parameters

Drupal\Core\Config\ConfigFactory $config: A config factory for retrieving the site front page configuration.

File

drupal/core/lib/Drupal/Core/PathProcessor/PathProcessorFront.php, line 31
Contains Drupal\Core\PathProcessor\PathProcessorFront.

Class

PathProcessorFront
Processes the inbound path by resolving it to the front page if empty.

Namespace

Drupal\Core\PathProcessor

Code

public function __construct(ConfigFactory $config) {
  $this->config = $config;
}