public function AmpMetadata::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.
Overrides AmpMetadataInterface::setOrganizationLogoImageStyleId
File
- src/
Entity/ AmpMetadata.php, line 231
Class
- AmpMetadata
- Defines the AMP Metadata entity.
Namespace
Drupal\amp\EntityCode
public function setOrganizationLogoImageStyleId($organization_logo_image_style_id) {
$this->organizationLogoImageStyleId = $organization_logo_image_style_id;
}