function amp_analytics_theme in Accelerated Mobile Pages (AMP) 7
Implements hook_theme().
File
- modules/
amp_analytics/ amp_analytics.module, line 30 - AMP Analytics submodule.
Code
function amp_analytics_theme($existing, $type, $theme, $path) {
$theme = array(
'amp_analytics' => array(
'variables' => array(
'content' => NULL,
'analytics' => NULL,
'analytics_attributes' => NULL,
'analytics_attributes_array' => array(),
),
'template' => 'amp-analytics',
),
);
return $theme;
}