Defines a common interface for all entity objects.
Implemented by
Hierarchy
- interface EntityInterface
Expanded class hierarchy of EntityInterface
File
- core/
modules/ entity/ entity.class.inc, line 10 - Provides an interface and a base class for entities.
Members
Name | Modifiers | Type | Description |
---|---|---|---|
EntityInterface:: |
public | function | Determines whether the given user has access to this entity. |
EntityInterface:: |
public | function | Builds a structured array representing the entity's content. |
EntityInterface:: |
public | function | Returns the bundle of the entity. |
EntityInterface:: |
public static | function | Determines whether the given user has access to create this type of entity. |
EntityInterface:: |
public | function | Creates a duplicate of the entity. |
EntityInterface:: |
public | function | Deletes an entity permanently. |
EntityInterface:: |
public | function | Returns the type of the entity. |
EntityInterface:: |
public | function | Returns a single value from a field on the entity. |
EntityInterface:: |
public | function | Returns all values from a field on the entity. |
EntityInterface:: |
public | function | Returns the revision identifier of the entity. |
EntityInterface:: |
public | function | Returns the entity identifier (the entity's machine name or numeric ID). |
EntityInterface:: |
public | function | Checks if this entity is the active revision. |
EntityInterface:: |
public | function | Returns whether the entity is new. |
EntityInterface:: |
public | function | Returns the label of the entity. |
EntityInterface:: |
public | function | Saves an entity permanently. |
EntityInterface:: |
public | function | Sets this revision as the active revision. |
EntityInterface:: |
public | function | Returns the URI elements of the entity. |
EntityInterface:: |
public | function | View an entity. |
EntityInterface:: |
public | function | Constructs a new entity object. |