EntityType::getBundleEntityType

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;
}
doc_Drupal
2016-10-29 09:07:57
Comments
Leave a Comment

Please login to continue.