EntityInterface::bundle

public EntityInterface::bundle()

Gets the bundle of the entity.

Return value

string The bundle of the entity. Defaults to the entity type ID if the entity type does not make use of different bundles.

File

core/lib/Drupal/Core/Entity/EntityInterface.php, line 88

Class

EntityInterface
Defines a common interface for all entity objects.

Namespace

Drupal\Core\Entity

Code

public function bundle();
doc_Drupal
2016-10-29 09:06:39
Comments
Leave a Comment

Please login to continue.