You are here

public function GoogleAdwordsTracker::__construct in Google AdWords Conversion Tracking 8

Constructor.

File

src/GoogleAdwordsTracker.php, line 30
Contains Drupal\google_adwords\GoogleAdwordsTracker.

Class

GoogleAdwordsTracker
Class GoogleAdwordsTracker.

Namespace

Drupal\google_adwords

Code

public function __construct() {
  if (!is_array(self::$trackings)) {
    static::$trackings = [];
  }
}