public function ContentHubEntityTypeConfigInterface::getRenderingViewModes in Acquia Content Hub 8
Obtains the list of enabled view modes for a particular bundle.
Parameters
string $bundle: The bundle to check for.
Return value
array An array of view modes.
1 method overrides ContentHubEntityTypeConfigInterface::getRenderingViewModes()
- ContentHubEntityTypeConfig::getRenderingViewModes in src/
Entity/ ContentHubEntityTypeConfig.php - Obtains the list of rendering view modes.
File
- src/
ContentHubEntityTypeConfigInterface.php, line 46
Class
- ContentHubEntityTypeConfigInterface
- Interface for ContentHubEntityTypeConfig class.
Namespace
Drupal\acquia_contenthubCode
public function getRenderingViewModes($bundle);