public function EntityType::getBundleEntityType in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/EntityType.php \Drupal\Core\Entity\EntityType::getBundleEntityType()
- 9 core/lib/Drupal/Core/Entity/EntityType.php \Drupal\Core\Entity\EntityType::getBundleEntityType()
Gets the name of the entity type which provides bundles.
Return value
string|null The name of the entity type which provides bundles, or NULL if the entity type does not have a bundle entity type.
Overrides EntityTypeInterface::getBundleEntityType
2 calls to EntityType::getBundleEntityType()
- EntityType::getBundleConfigDependency in core/
lib/ Drupal/ Core/ Entity/ EntityType.php - Gets the config dependency info for this entity, if any exists.
- EntityType::getBundleLabel in core/
lib/ Drupal/ Core/ Entity/ EntityType.php - Gets the label for the bundle.
File
- core/
lib/ Drupal/ Core/ Entity/ EntityType.php, line 648
Class
- EntityType
- Provides an implementation of an entity type and its metadata.
Namespace
Drupal\Core\EntityCode
public function getBundleEntityType() {
return $this->bundle_entity_type;
}