public function GoogleAdwordsPathTrackerBackup::matchCurrentRoute in Google AdWords Conversion Tracking 8
Return an array of PathConfigs that match the current route
@returns \Drupal\google_adwords_path\Entity\GoogleAdwordsPathConfig[]
1 call to GoogleAdwordsPathTrackerBackup::matchCurrentRoute()
- GoogleAdwordsPathTrackerBackup::registerCurrentRoute in modules/
google_adwords_path/ src/ GoogleAdwordsPathTracker.backup.php - Handler Routing finished event to register any path configs that match with the adwords tracker
File
- modules/
google_adwords_path/ src/ GoogleAdwordsPathTracker.backup.php, line 132 - Contains Drupal\google_adwords_path\GoogleAdwordsPathTracker.
Class
- GoogleAdwordsPathTrackerBackup
- Class GoogleAdwordsPathTracker.
Namespace
Drupal\google_adwords_pathCode
public function matchCurrentRoute() {
/**
* @var Route $route
*/
$route = $this->current_route_match
->getRouteObject();
return $this
->matchRoute($route);
}