You are here

public function EntityInterface::bundle in Entity API 7

Returns the bundle of the entity.

Return value

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

1 method overrides EntityInterface::bundle()
Entity::bundle in includes/entity.inc
Returns the bundle of the entity.

File

includes/entity.inc, line 53
Provides a base class for entities.

Class

EntityInterface
Interface for class based entities.

Code

public function bundle();