Controller class for the test_entity_bundle entity type.

This extends the DefaultEntityController class, adding required special handling for bundles (since they are not stored in the database).

Hierarchy

Expanded class hierarchy of TestEntityBundleController

File

modules/field/tests/field_test/field_test.controller.inc, line 8

Members

Contains filters are case sensitive
Namesort descending Modifiers Type Description
DefaultEntityController::$entityCache protected property Static cache of entities.
DefaultEntityController::$entityInfo protected property Array of information about the entity.
DefaultEntityController::$entityType protected property Entity type for this controller instance.
DefaultEntityController::$hookLoadArguments protected property Additional arguments to pass to hook_TYPE_load().
DefaultEntityController::$idKey protected property Name of the entity's ID field in the entity database table.
DefaultEntityController::$persistentCache protected property Whether this entity type should use the persistent entity cache.
DefaultEntityController::$revisionKey protected property Name of entity's revision database table field, if it supports revisions.
DefaultEntityController::$revisionTable protected property The table that stores revisions, if the entity supports revisions.
DefaultEntityController::$staticCache protected property Whether this entity type should use the static cache.
DefaultEntityController::buildQuery protected function Builds the query to load the entity.
DefaultEntityController::cacheGet protected function Gets entities from the static cache.
DefaultEntityController::cacheSet protected function Stores entities in the static entity cache.
DefaultEntityController::__construct public function Implements EntityControllerInterface::__construct().
DefaultEntityController::load public function Implements EntityControllerInterface::load(). Overrides EntityControllerInterface::load
DefaultEntityController::resetCache public function Implements EntityControllerInterface::resetCache(). Overrides EntityControllerInterface::resetCache
DefaultEntityController::resetStaticCache public function Implements EntityControllerInterface::resetStaticCache(). Overrides EntityControllerInterface::resetStaticCache
TestEntityBundleController::attachLoad protected function Attaches data to entities upon loading. Overrides DefaultEntityController::attachLoad