public function ContentHubEntityTypeConfigInterface::getPreviewImageStyle in Acquia Content Hub 8
Obtains the Preview Image Style for this particular bundle.
Parameters
string $bundle: The entity bundle.
Return value
string|null The preview image style if exists, NULL otherwise.
1 method overrides ContentHubEntityTypeConfigInterface::getPreviewImageStyle()
- ContentHubEntityTypeConfig::getPreviewImageStyle in src/
Entity/ ContentHubEntityTypeConfig.php - Obtains the Preview Image Style for this particular bundle.
File
- src/
ContentHubEntityTypeConfigInterface.php, line 76
Class
- ContentHubEntityTypeConfigInterface
- Interface for ContentHubEntityTypeConfig class.
Namespace
Drupal\acquia_contenthubCode
public function getPreviewImageStyle($bundle);