You are here

public function CurrentPathHelper::__construct in Menu Trail By Path 8

File

src/Path/CurrentPathHelper.php, line 29

Class

CurrentPathHelper

Namespace

Drupal\menu_trail_by_path\Path

Code

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');
}