You are here

public function ContentHubEntityTypeConfigInterface::setPreviewImageStyle in Acquia Content Hub 8

Sets the preview image style for a specific bundle.

Parameters

string $bundle: The entity bundle.

string $image_style: The preview image style.

1 method overrides ContentHubEntityTypeConfigInterface::setPreviewImageStyle()
ContentHubEntityTypeConfig::setPreviewImageStyle in src/Entity/ContentHubEntityTypeConfig.php
Sets the preview image style for a specific bundle.

File

src/ContentHubEntityTypeConfigInterface.php, line 96

Class

ContentHubEntityTypeConfigInterface
Interface for ContentHubEntityTypeConfig class.

Namespace

Drupal\acquia_contenthub

Code

public function setPreviewImageStyle($bundle, $image_style);