You are here

public function CommandRegistryService::addItem in Googalytics - Google Analytics 8

Add a command to the registry.

Parameters

\Drupal\ga\AnalyticsCommand\DrupalSettingCommandsInterface $command: An analytics command.

Deprecated

Use addCommand() instead.

File

src/CommandRegistryService.php, line 34

Class

CommandRegistryService
Class CommandRegistryService.

Namespace

Drupal\ga

Code

public function addItem(DrupalSettingCommandsInterface $command) {
  $this
    ->addCommand($command);
}