You are here

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

Add a command to the group.

Parameters

\Drupal\ga\AnalyticsCommand\DrupalSettingCommandsInterface $command: A command.

File

src/AnalyticsCommand/Group.php, line 58

Class

Group
Class Drupal\ga\AnalyticsCommand\Group.

Namespace

Drupal\ga\AnalyticsCommand

Code

public function addCommand(DrupalSettingCommandsInterface $command) {
  $this->commands[] = $command;
}