public function AmpPrepareMetadataJson::setPreparedMetadataJson in Accelerated Mobile Pages (AMP) 8
Allows additions or changes to metadata ready to be converted to JSON.
Parameters
array $prepared_metadata:
Overrides AmpPrepareMetadataJsonInterface::setPreparedMetadataJson
File
- src/
Utility/ AmpPrepareMetadataJson.php, line 118
Class
- AmpPrepareMetadataJson
- Class AmpPrepareMetadataJson
Namespace
Drupal\amp\UtilityCode
public function setPreparedMetadataJson($prepared_metadata) {
$this->ampPreparedMetadataJson = $prepared_metadata;
}