You are here

protected function GoogleAdwordsPathTrackerBackup::matchPath in Google AdWords Conversion Tracking 8

Parameters

$path:

Return value

array

1 call to GoogleAdwordsPathTrackerBackup::matchPath()
GoogleAdwordsPathTrackerBackup::matchRoute in modules/google_adwords_path/src/GoogleAdwordsPathTracker.backup.php
Match Route object to an Adwords Conversion Path

File

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

Class

GoogleAdwordsPathTrackerBackup
Class GoogleAdwordsPathTracker.

Namespace

Drupal\google_adwords_path

Code

protected function matchPath($path) {
  $tree = $this
    ->buildPathTree();
  return self::_matchPath_recursive($tree, explode('/', $path));
}