You are here

public function AmpPrepareMetadataJsonInterface::setPreparedMetadataJson in Accelerated Mobile Pages (AMP) 8

Allows additions or changes to metadata ready to be converted to JSON.

Parameters

array $prepared_metadata:

1 method overrides AmpPrepareMetadataJsonInterface::setPreparedMetadataJson()
AmpPrepareMetadataJson::setPreparedMetadataJson in src/Utility/AmpPrepareMetadataJson.php
Allows additions or changes to metadata ready to be converted to JSON.

File

src/AmpPrepareMetadataJsonInterface.php, line 37

Class

AmpPrepareMetadataJsonInterface
Provides an interface for preparing AMP Metadata JSON.

Namespace

Drupal\amp

Code

public function setPreparedMetadataJson($prepared_metadata);