1 entity.class.inc public EntityInterface::entityType()

Returns the type of the entity.

Return value

The type of the entity.:

File

core/modules/entity/entity.class.inc, line 47
Provides an interface and a base class for entities.

Class

EntityInterface
Defines a common interface for all entity objects.

Code

public function entityType();