8.3.x EntityTypeInterface.php public EntityTypeInterface::getBundleEntityType()
8.0.x EntityTypeInterface.php public EntityTypeInterface::getBundleEntityType()
8.1.x EntityTypeInterface.php public EntityTypeInterface::getBundleEntityType()
8.2.x EntityTypeInterface.php public EntityTypeInterface::getBundleEntityType()
8.4.x EntityTypeInterface.php public EntityTypeInterface::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.

1 method overrides EntityTypeInterface::getBundleEntityType()
EntityType::getBundleEntityType in core/lib/Drupal/Core/Entity/EntityType.php
Gets the name of the entity type which provides bundles.

File

core/lib/Drupal/Core/Entity/EntityTypeInterface.php, line 533

Class

EntityTypeInterface
Provides an interface for an entity type and its metadata.

Namespace

Drupal\Core\Entity

Code

public function getBundleEntityType();