public function AmpMetadataInterface::setContentAuthorToken in Accelerated Mobile Pages (AMP) 8
Set the content author token.
Typically this will be a token for the node author in order to correctly show the author for each node.
Parameters
string $content_author_token: The token for the content author.
1 method overrides AmpMetadataInterface::setContentAuthorToken()
- AmpMetadata::setContentAuthorToken in src/
Entity/ AmpMetadata.php - Set the content author token.
File
- src/
AmpMetadataInterface.php, line 150
Class
- AmpMetadataInterface
- Provides an interface for defining AMP Metadata entities.
Namespace
Drupal\ampCode
public function setContentAuthorToken($content_author_token);