You are here

interface DrupalSettingCommandsInterface in Googalytics - Google Analytics 8

Interface AnalyticsCommandSetInterface.

Hierarchy

Expanded class hierarchy of DrupalSettingCommandsInterface

All classes that implement DrupalSettingCommandsInterface

2 files declare their use of DrupalSettingCommandsInterface
CollectEvent.php in src/Event/CollectEvent.php
CommandRegistryService.php in src/CommandRegistryService.php

File

src/AnalyticsCommand/DrupalSettingCommandsInterface.php, line 8

Namespace

Drupal\ga\AnalyticsCommand
View source
interface DrupalSettingCommandsInterface {

  /**
   * An integer value for sorting by priority.
   *
   * @return int
   *   The priority value.
   */
  public function getPriority();

  /**
   * An array of commands to be sent to Google Analytics.
   *
   * @return array
   *   An array of command values.
   */
  public function getSettingCommands();

}

Members

Namesort descending Modifiers Type Description Overrides
DrupalSettingCommandsInterface::getPriority public function An integer value for sorting by priority.
DrupalSettingCommandsInterface::getSettingCommands public function An array of commands to be sent to Google Analytics.