public function PathProcessorFront::__construct in Drupal 8
Same name and namespace in other branches
- 9 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 30
Class
- PathProcessorFront
- Processes the inbound path by resolving it to the front page if empty.
Namespace
Drupal\Core\PathProcessorCode
public function __construct(ConfigFactoryInterface $config) {
$this->config = $config;
}