Defines a common interface for all content entity objects.
Expanded class hierarchy of ContentEntityInterface
All classes that implement ContentEntityInterface
interface ContentEntityInterface extends EntityInterface {
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
EntityInterface:: |
public | function | Returns the entity identifier (the entity's machine name or numeric ID). | 2 |
EntityInterface:: |
public | function | Returns the entity UUID (Universally Unique Identifier). | 2 |
EntityInterface:: |
public | function | Returns whether the entity is new. | 2 |
EntityInterface:: |
public | function | Returns whether a new revision should be created on save. | 2 |
EntityInterface:: |
public | function | Enforces an entity to be saved as a new revision. | 2 |
EntityInterface:: |
public | function | Enforces an entity to be new. | 2 |
EntityInterface:: |
public | function | Returns the type of the entity. | 2 |
EntityInterface:: |
public | function | Returns the bundle of the entity. | 2 |
EntityInterface:: |
public | function | Returns the label of the entity. | 2 |
EntityInterface:: |
public | function | Returns the URI elements of the entity. | 2 |
EntityInterface:: |
public | function | Saves an entity permanently. | 2 |
EntityInterface:: |
public | function | Deletes an entity permanently. | 2 |
EntityInterface:: |
public | function | Creates a duplicate of the entity. | 2 |
EntityInterface:: |
public | function | Returns the info of the type of the entity. | 2 |
EntityInterface:: |
public | function | Returns the revision identifier of the entity. | 2 |
EntityInterface:: |
public | function | Checks if this entity is the default revision. | 2 |
ComplexDataInterface:: |
public | function | Gets a property object. | 5 |
ComplexDataInterface:: |
public | function | Sets a property value. | 5 |
ComplexDataInterface:: |
public | function | Gets an array of property objects. | 5 |
ComplexDataInterface:: |
public | function | Gets an array of property values. | 5 |
ComplexDataInterface:: |
public | function | Sets multiple property values. | 5 |
ComplexDataInterface:: |
public | function | Gets the definition of a contained property. | 5 |
ComplexDataInterface:: |
public | function | Gets an array property definitions of contained properties. | 12 |
ComplexDataInterface:: |
public | function | Determines whether the data structure is empty. | 5 |
AccessibleInterface:: |
public | function | Checks data value access. | 4 |
TranslatableInterface:: |
public | function | Returns the default language. | 2 |
TranslatableInterface:: |
public | function | Returns the languages the data is translated to. | 2 |
TranslatableInterface:: |
public | function | Gets a translation of the data. | 2 |