File storage controller for files.
Hierarchy
- class DefaultEntityController implements EntityControllerInterface
- class EntityDatabaseStorageController implements EntityStorageControllerInterface
- class FileStorageController
- class EntityDatabaseStorageController implements EntityStorageControllerInterface
Expanded class hierarchy of FileStorageController
File
- modules/
file/ file.entity.inc, line 192 - Entity controller and class for files.
Members
Name | Modifiers | Type | Description |
---|---|---|---|
DefaultEntityController:: |
protected | property | Static cache of entities. |
DefaultEntityController:: |
protected | property | Array of information about the entity. |
DefaultEntityController:: |
protected | property | Entity type for this controller instance. |
DefaultEntityController:: |
protected | property | Additional arguments to pass to hook_TYPE_load(). |
DefaultEntityController:: |
protected | property | Name of the entity's ID field in the entity database table. |
DefaultEntityController:: |
protected | property | Whether this entity type should use the persistent entity cache. |
DefaultEntityController:: |
protected | property | Name of entity's revision database table field, if it supports revisions. |
DefaultEntityController:: |
protected | property | The table that stores revisions, if the entity supports revisions. |
DefaultEntityController:: |
protected | property | Whether this entity type should use the static cache. |
DefaultEntityController:: |
protected | function | Attaches data to entities upon loading. |
DefaultEntityController:: |
protected | function | Builds the query to load the entity. |
DefaultEntityController:: |
protected | function | Gets entities from the static cache. |
DefaultEntityController:: |
protected | function | Stores entities in the static entity cache. |
DefaultEntityController:: |
public | function | Implements EntityControllerInterface::__construct(). |
DefaultEntityController:: |
public | function |
Implements EntityControllerInterface::load(). Overrides EntityControllerInterface:: |
DefaultEntityController:: |
public | function |
Implements EntityControllerInterface::resetCache(). Overrides EntityControllerInterface:: |
DefaultEntityController:: |
public | function |
Implements EntityControllerInterface::resetStaticCache(). Overrides EntityControllerInterface:: |
EntityDatabaseStorageController:: |
public | function |
Implements EntityStorageControllerInterface::create(). Overrides EntityStorageControllerInterface:: |
EntityDatabaseStorageController:: |
public | function |
Implements EntityStorageControllerInterface::delete(). Overrides EntityStorageControllerInterface:: |
EntityDatabaseStorageController:: |
protected | function | Invokes a hook on behalf of the entity. |
EntityDatabaseStorageController:: |
protected | function | Acts on deleted entities before the delete hook is invoked. |
EntityDatabaseStorageController:: |
protected | function | Acts on a saved entity before the insert or update hook is invoked. |
EntityDatabaseStorageController:: |
public | function |
Implements EntityStorageControllerInterface::save(). Overrides EntityStorageControllerInterface:: |
FileStorageController:: |
public | function |
Overrides EntityDatabaseStorageController::preDelete(). Overrides EntityDatabaseStorageController:: |
FileStorageController:: |
protected | function |
Overrides EntityDatabaseStorageController::presave(). Overrides EntityDatabaseStorageController:: |