You are here

public function PathProcessorFront::__construct in Zircon Profile 8

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

Constructs a PathProcessorFront object.

Parameters

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

File

core/lib/Drupal/Core/PathProcessor/PathProcessorFront.php, line 34
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(ConfigFactoryInterface $config) {
  $this->config = $config;
}