public function AmpAnalyticsService::getOutput in Analytics 7
Returns the output of the analytics service.
Parameters
array $context:
Return value
array A structured, renderable array.
Overrides AnalyticsServiceInterface::getOutput
File
- analytics_amp/
src/ AmpAnalyticsService.php, line 53
Class
Code
public function getOutput(array $context) {
if (amp_is_amp_request()) {
return $this
->getAmpOutput($this
->getConfiguration(), $context);
}
}