public function AmpMetadataInterface::setOrganizationLogoImageStyleId in Accelerated Mobile Pages (AMP) 8
Set the organization logo image style ID.
The image style should output a JPG, PNG or GIF, fitting within a 600x60 space. The height must be 60px, unless the width is 600px, and the aspect ratio requires a height smaller than 60px.
Parameters
string $organization_logo_image_style_id: The ID of the organization logo image style.
1 method overrides AmpMetadataInterface::setOrganizationLogoImageStyleId()
- AmpMetadata::setOrganizationLogoImageStyleId in src/
Entity/ AmpMetadata.php - Set the organization logo image style ID.
File
- src/
AmpMetadataInterface.php, line 91
Class
- AmpMetadataInterface
- Provides an interface for defining AMP Metadata entities.
Namespace
Drupal\ampCode
public function setOrganizationLogoImageStyleId($organization_logo_image_style_id);