public function AmpMetadataInterface::setContentImageStyleId in Accelerated Mobile Pages (AMP) 8
Set the content image style ID.
The image style should output an image at least 696px wide.
Parameters
string $content_image_style_id: The ID for the content image style.
1 method overrides AmpMetadataInterface::setContentImageStyleId()
- AmpMetadata::setContentImageStyleId in src/
Entity/ AmpMetadata.php - Set the content image style ID.
File
- src/
AmpMetadataInterface.php, line 203
Class
- AmpMetadataInterface
- Provides an interface for defining AMP Metadata entities.
Namespace
Drupal\ampCode
public function setContentImageStyleId($content_image_style_id);