public function ContentHubEntityTypeConfigInterface::isEnabledViewModes in Acquia Content Hub 8
Checks if the view modes rendering is enabled for this bundle.
Parameters
string $bundle: The bundle to check for.
Return value
bool TRUE if view modes rendering is enabled for this bundle, FALSE otherwise.
1 method overrides ContentHubEntityTypeConfigInterface::isEnabledViewModes()
- ContentHubEntityTypeConfig::isEnabledViewModes in src/
Entity/ ContentHubEntityTypeConfig.php - Check if view modes are enabled.
File
- src/
ContentHubEntityTypeConfigInterface.php, line 35
Class
- ContentHubEntityTypeConfigInterface
- Interface for ContentHubEntityTypeConfig class.
Namespace
Drupal\acquia_contenthubCode
public function isEnabledViewModes($bundle);