You are here

public function GoogleAdwordsPathTrackerBackup::matchRoute in Google AdWords Conversion Tracking 8

Match Route object to an Adwords Conversion Path

@returns \Drupal\google_adwords_path\Entity\GoogleAdwordsPathConfig[]

Parameters

\Symfony\Component\Routing\Route $route to match to:

1 call to GoogleAdwordsPathTrackerBackup::matchRoute()
GoogleAdwordsPathTrackerBackup::matchCurrentRoute in modules/google_adwords_path/src/GoogleAdwordsPathTracker.backup.php
Return an array of PathConfigs that match the current route

File

modules/google_adwords_path/src/GoogleAdwordsPathTracker.backup.php, line 146
Contains Drupal\google_adwords_path\GoogleAdwordsPathTracker.

Class

GoogleAdwordsPathTrackerBackup
Class GoogleAdwordsPathTracker.

Namespace

Drupal\google_adwords_path

Code

public function matchRoute(Route $route) {
  return $this
    ->matchPath($route
    ->getPath());
}