You are here

public function Entity::entityType in Entity API 7

Returns the type of the entity.

Overrides EntityInterface::entityType

File

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

Class

Entity
A common class for entities.

Code

public function entityType() {
  return $this->entityType;
}