public function CurrentPathHelper::__construct in Menu Trail By Path 8
File
- src/
Path/ CurrentPathHelper.php, line 29
Class
Namespace
Drupal\menu_trail_by_path\PathCode
public function __construct(RouteMatchInterface $route_match, RequestContext $context, ConfigFactoryInterface $config_factory) {
$this->routeMatch = $route_match;
$this->context = $context;
$this->config = $config_factory
->get('menu_trail_by_path.settings');
}