public function AmpMetadataInterface::setContentSchemaType in Accelerated Mobile Pages (AMP) 8
Set the content schema type.
Values can include:
- 'Article'
- 'NewsArticle'
- 'BlogPosting'
Parameters
string $content_schema_type: The schema type of this content.
1 method overrides AmpMetadataInterface::setContentSchemaType()
- AmpMetadata::setContentSchemaType in src/
Entity/ AmpMetadata.php - Set the content schema type.
File
- src/
AmpMetadataInterface.php, line 112
Class
- AmpMetadataInterface
- Provides an interface for defining AMP Metadata entities.
Namespace
Drupal\ampCode
public function setContentSchemaType($content_schema_type);