public function BackgroundImageManagerInterface::getEnabledEntityTypeBundles in Background Image 2.0.x
Same name and namespace in other branches
- 8 src/BackgroundImageManagerInterface.php \Drupal\background_image\BackgroundImageManagerInterface::getEnabledEntityTypeBundles()
- 2.x src/BackgroundImageManagerInterface.php \Drupal\background_image\BackgroundImageManagerInterface::getEnabledEntityTypeBundles()
Retrieves the enabled bundles for an entity type.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: An EntityTypeInterface object.
Return value
array An array of enabled bundle information where the outer array is keyed by the bundle name, or the entity type name if the entity does not have bundles. The inner arrays are associative arrays of bundle information, such as the label for the bundle.
1 method overrides BackgroundImageManagerInterface::getEnabledEntityTypeBundles()
- BackgroundImageManager::getEnabledEntityTypeBundles in src/
BackgroundImageManager.php - Retrieves the enabled bundles for an entity type.
File
- src/
BackgroundImageManagerInterface.php, line 129
Class
Namespace
Drupal\background_imageCode
public function getEnabledEntityTypeBundles(EntityTypeInterface $entity_type);