public function ContentHubEntityTypeConfigInterface::setPreviewImageField in Acquia Content Hub 8
Sets the preview image field for a specific bundle.
Parameters
string $bundle: The entity bundle.
string $image_field: The preview image field.
1 method overrides ContentHubEntityTypeConfigInterface::setPreviewImageField()
- ContentHubEntityTypeConfig::setPreviewImageField in src/
Entity/ ContentHubEntityTypeConfig.php - Sets the preview image field for a specific bundle.
File
- src/
ContentHubEntityTypeConfigInterface.php, line 86
Class
- ContentHubEntityTypeConfigInterface
- Interface for ContentHubEntityTypeConfig class.
Namespace
Drupal\acquia_contenthubCode
public function setPreviewImageField($bundle, $image_field);