public function ServiceDataTrait::getData in Analytics 8
Return value
array
1 call to ServiceDataTrait::getData()
- GoogleTagManager::getOutput in src/
Plugin/ AnalyticsService/ GoogleTagManager.php - Returns the output of the analytics service.
File
- src/
Plugin/ ServiceDataTrait.php, line 15
Class
Namespace
Drupal\analytics\PluginCode
public function getData() {
$data = $this
->defaultData();
$types = [
'analytics_' . $this
->getPluginId() . '_data',
'analytics_' . $this
->getServiceId() . '_data',
];
$this
->moduleHandler()
->alter($types, $data, $this);
return $data;
}