1 entity.class.inc | public EntityInterface::bundle() |
Returns the bundle of the entity.
Return value
The bundle of the entity. Defaults to the entity type if the entity type: does not make use of different bundles.
File
- core/
modules/ entity/ entity.class.inc, line 56 - Provides an interface and a base class for entities.
Class
- EntityInterface
- Defines a common interface for all entity objects.
Code
public function bundle();