You are here

function hook_amp_metadata_alter in Accelerated Mobile Pages (AMP) 7

Allow other modules to change the metadata before it's outputted to the page.

Parameters

$metadata_json: The json array with key/values

$node: The node object

$type: The type

1 invocation of hook_amp_metadata_alter()
amp_node_view in ./amp.module
Implements hook_node_view().

File

./amp.api.php, line 34
Documents hooks provided by this module.

Code

function hook_amp_metadata_alter(&$metadata_json, $node, $type) {
}