public function GoogleAdwordsPathTrackerBackup::registerCurrentRoute in Google AdWords Conversion Tracking 8
Handler Routing finished event to register any path configs that match with the adwords tracker
See also
eventAPI
File
- modules/
google_adwords_path/ src/ GoogleAdwordsPathTracker.backup.php, line 99 - Contains Drupal\google_adwords_path\GoogleAdwordsPathTracker.
Class
- GoogleAdwordsPathTrackerBackup
- Class GoogleAdwordsPathTracker.
Namespace
Drupal\google_adwords_pathCode
public function registerCurrentRoute() {
drupal_set_message(__METHOD__ . ':: EVENT TRIGGER');
foreach ($this
->matchCurrentRoute() as $pathConfig) {
/**
* @var \Drupal\google_adwords_path\Entity\GoogleAdwordsPathConfig $pathConfig
*/
$this
->registerPathConfig($pathConfig);
}
}