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

Returns the URI elements of the entity.

Return value

An array containing the 'path' and 'options' keys used to build the URI: of the entity, and matching the signature of url(). NULL if the entity has no URI of its own.

File

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

Class

EntityInterface
Defines a common interface for all entity objects.

Code

public function uri();