You are here

public function GoogleAnalyticsEventTracking::__construct in Google Analytics Event Tracking 8

Same name and namespace in other branches
  1. 8.2 src/GoogleAnalyticsEventTracking.php \Drupal\google_analytics_et\GoogleAnalyticsEventTracking::__construct()

File

src/GoogleAnalyticsEventTracking.php, line 52

Class

GoogleAnalyticsEventTracking

Namespace

Drupal\google_analytics_et

Code

public function __construct(RendererInterface $renderer, EntityTypeManagerInterface $entity_type_manager, CurrentPathStack $current_path, CurrentRouteMatch $current_route_match, AliasManagerInterface $alias_manager, PathMatcherInterface $path_matcher, LanguageManagerInterface $language_manager) {
  $this->renderer = $renderer;
  $this->entityTypeManager = $entity_type_manager;
  $this->currentPath = $current_path;
  $this->currentRouteMatch = $current_route_match;
  $this->aliasManager = $alias_manager;
  $this->pathMatcher = $path_matcher;
  $this->languageManager = $language_manager;
}