interface DrupalCommerceEntityControllerInterface in Commerce Core 7
Interface for the default Drupal Commerce entity controller.
Hierarchy
- interface \DrupalEntityControllerInterface
- interface \EntityAPIControllerInterface
- interface \DrupalCommerceEntityControllerInterface
- interface \EntityAPIControllerInterface
Expanded class hierarchy of DrupalCommerceEntityControllerInterface
All classes that implement DrupalCommerceEntityControllerInterface
File
- includes/
commerce.controller.inc, line 14 - Provides a central controller for Drupal Commerce.
View source
interface DrupalCommerceEntityControllerInterface extends EntityAPIControllerInterface {
/**
* Determines whether or not the given entity object was loaded directly from
* the database to represent the unchanged version of the entity.
*
* @param object $entity
* The entity to check.
*
* @return bool
* TRUE if the entity is "unchanged", FALSE otherwise.
*/
public function isUnchanged($entity);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DrupalCommerceEntityControllerInterface:: |
public | function | Determines whether or not the given entity object was loaded directly from the database to represent the unchanged version of the entity. | 1 |
DrupalEntityControllerInterface:: |
public | function | Loads one or more entities. | 1 |
DrupalEntityControllerInterface:: |
public | function | Resets the internal, static entity cache. | 1 |
EntityAPIControllerInterface:: |
public | function | Builds a structured array representing the entity's content. | 1 |
EntityAPIControllerInterface:: |
public | function | Create a new entity. | 1 |
EntityAPIControllerInterface:: |
public | function | Delete permanently saved entities. | 1 |
EntityAPIControllerInterface:: |
public | function | Exports an entity as serialized string. | 1 |
EntityAPIControllerInterface:: |
public | function | Imports an entity from a string. | 1 |
EntityAPIControllerInterface:: |
public | function | Invokes a hook on behalf of the entity. For hooks that have a respective field API attacher like insert/update/.. the attacher is called too. | 1 |
EntityAPIControllerInterface:: |
public | function | Permanently saves the given entity. | 1 |
EntityAPIControllerInterface:: |
public | function | Generate an array for rendering the given entities. | 1 |