public function AmpMetadataInterface::setContentDescriptionToken in Accelerated Mobile Pages (AMP) 8
Set the content description token.
Typically this will be a token for either the node body summary or a separate field containing the description. Should be limited to 150 chars.
Parameters
string $content_description_token: The token for the content description.
1 method overrides AmpMetadataInterface::setContentDescriptionToken()
- AmpMetadata::setContentDescriptionToken in src/
Entity/ AmpMetadata.php - Set the content description token.
File
- src/
AmpMetadataInterface.php, line 169
Class
- AmpMetadataInterface
- Provides an interface for defining AMP Metadata entities.
Namespace
Drupal\ampCode
public function setContentDescriptionToken($content_description_token);