You are here

public function Group::__construct in Googalytics - Google Analytics 8

AnalyticsCommandGroup constructor.

Parameters

string $key: The group name.

int $priority: The group priority.

File

src/AnalyticsCommand/Group.php, line 36

Class

Group
Class Drupal\ga\AnalyticsCommand\Group.

Namespace

Drupal\ga\AnalyticsCommand

Code

public function __construct($key, $priority = self::DEFAULT_PRIORITY) {
  $this->groupKey = $key;
  $this->priority = $priority;
  $this->commands = [];
}