public function AmpMetadata::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.
Overrides AmpMetadataInterface::setContentDescriptionToken
File
- src/
Entity/ AmpMetadata.php, line 290
Class
- AmpMetadata
- Defines the AMP Metadata entity.
Namespace
Drupal\amp\EntityCode
public function setContentDescriptionToken($content_description_token) {
$this->contentDescriptionToken = $content_description_token;
}