public 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
File
- core/lib/Drupal/Core/Entity/EntityType.php, line 667
Class
- EntityType
- Provides an implementation of an entity type and its metadata.
Namespace
Drupal\Core\Entity
Code
public function getBundleEntityType() { return $this->bundle_entity_type; }
Please login to continue.