You are here

public function AmpMetadataInterface::setContentHeadlineToken in Accelerated Mobile Pages (AMP) 8

Set the content headline token.

Typically this will be a token for either the node title or a separate field containing a short headline. Should be limited to 110 characters.

Parameters

string $content_headline_token: The token for the content headline.

1 method overrides AmpMetadataInterface::setContentHeadlineToken()
AmpMetadata::setContentHeadlineToken in src/Entity/AmpMetadata.php
Set the content headline token.

File

src/AmpMetadataInterface.php, line 131

Class

AmpMetadataInterface
Provides an interface for defining AMP Metadata entities.

Namespace

Drupal\amp

Code

public function setContentHeadlineToken($content_headline_token);