You are here

class Exception in Googalytics - Google Analytics 8

Class Exception.

Hierarchy

Expanded class hierarchy of Exception

File

src/AnalyticsCommand/Exception.php, line 8

Namespace

Drupal\ga\AnalyticsCommand
View source
class Exception extends Send {

  /**
   * Exception constructor.
   *
   * @param array $fields_object
   *   A map of values for the command's fieldsObject parameter.
   * @param string $tracker_name
   *   The tracker name (optional).
   * @param int $priority
   *   The command priority.
   */
  public function __construct(array $fields_object = [], $tracker_name = NULL, $priority = self::DEFAULT_PRIORITY) {
    parent::__construct('exception', $fields_object, $tracker_name, $priority);
  }

}

Members

Namesort descending Modifiers Type Description Overrides
DrupalSettingCommandsTrait::$priority protected property Priority integer.
DrupalSettingCommandsTrait::getPriority public function An integer value for sorting by priority.
Exception::__construct public function Exception constructor. Overrides Send::__construct
Generic::$command protected property The command name.
Generic::$fieldsObject protected property A map of values for the command's fieldsObject parameter.
Generic::$trackerName protected property The name of the tracker for this command.
Generic::getCommand public function Get the command name.
Generic::getFieldsObject public function Get the map of values for the command's fieldsObject parameter.
Generic::getTrackerName public function The tracker this command will be applied to, if specified.
Send::$hitType protected property The event hitType parameter.
Send::$hitTypes private static property
Send::DEFAULT_PRIORITY constant Overrides Generic::DEFAULT_PRIORITY 1
Send::getSettingCommands public function An array of commands to be sent to Google Analytics. Overrides Generic::getSettingCommands 2