public function PathProcessorFront::__construct in Drupal 9
Same name and namespace in other branches
- 8 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;
}