You are here

public function ContentHubEntityTypeConfigInterface::getPreviewImageField in Acquia Content Hub 8

Obtains the Preview Image Field for this particular bundle.

Parameters

string $bundle: The entity bundle.

Return value

string|null The preview image field if exists, NULL otherwise.

1 method overrides ContentHubEntityTypeConfigInterface::getPreviewImageField()
ContentHubEntityTypeConfig::getPreviewImageField in src/Entity/ContentHubEntityTypeConfig.php
Obtains the Preview Image Field for this particular bundle.

File

src/ContentHubEntityTypeConfigInterface.php, line 65

Class

ContentHubEntityTypeConfigInterface
Interface for ContentHubEntityTypeConfig class.

Namespace

Drupal\acquia_contenthub

Code

public function getPreviewImageField($bundle);