You are here

public function AmpMetadata::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.

Overrides AmpMetadataInterface::setContentImageStyleId

File

src/Entity/AmpMetadata.php, line 318

Class

AmpMetadata
Defines the AMP Metadata entity.

Namespace

Drupal\amp\Entity

Code

public function setContentImageStyleId($content_image_style_id) {
  $this->contentImageStyleId = $content_image_style_id;
}