You are here

public function EntityInterface::internalIdentifier in Entity API 7

Returns the internal, numeric identifier.

Returns the numeric identifier, even if the entity type has specified a name key. In the latter case, the numeric identifier is supposed to be used when dealing generically with entities or internally to refer to an entity, i.e. in a relational database. If unsure, use Entity:identifier().

1 method overrides EntityInterface::internalIdentifier()
Entity::internalIdentifier in includes/entity.inc
Returns the internal, numeric identifier.

File

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

Class

EntityInterface
Interface for class based entities.

Code

public function internalIdentifier();