trait DrupalSettingCommandsTrait in Googalytics - Google Analytics 8
Trait AnalyticsCommandSetTrait.
Trait for implementing DrupalSettingCommandsInterface.
Hierarchy
- trait \Drupal\ga\AnalyticsCommand\DrupalSettingCommandsTrait
File
- src/
AnalyticsCommand/ DrupalSettingCommandsTrait.php, line 10
Namespace
Drupal\ga\AnalyticsCommandView source
trait DrupalSettingCommandsTrait {
/**
* Priority integer.
*
* @var int
*/
protected $priority;
/**
* An integer value for sorting by priority.
*
* @return int
* The priority value.
*/
public function getPriority() {
return $this->priority;
}
/**
* An array of commands to be sent to Google Analytics.
*
* @return array
* An array of command values.
*/
public function getSettingCommands() {
return [];
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DrupalSettingCommandsTrait:: |
protected | property | Priority integer. | |
DrupalSettingCommandsTrait:: |
public | function | An integer value for sorting by priority. | |
DrupalSettingCommandsTrait:: |
public | function | An array of commands to be sent to Google Analytics. | 2 |