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

1 call to EntityType::getBundleEntityType()
EntityType::getBundleConfigDependency in core/lib/Drupal/Core/Entity/EntityType.php
Gets the config dependency info for this entity, if any exists.

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;
}