Search for entity

  1. Search 9.5.x for entity
  2. Search 8.9.x for entity
  3. Search 10.3.x for entity
  4. Search 11.x for entity
  5. Other projects
Title Object type File name Summary
book_entity_info_alter function modules/book/book.module Implements hook_entity_info_alter().
callback_entity_info_label function modules/system/system.api.php Return the label of an entity.
callback_entity_info_language function modules/system/system.api.php Return the language code of the entity.
callback_entity_info_uri function modules/system/system.api.php Return the URI for an entity.
comment_entity_info function modules/comment/comment.module Implements hook_entity_info().
DrupalDefaultEntityController class includes/entity.inc Default implementation of DrupalEntityControllerInterface.
DrupalDefaultEntityController::$cache property includes/entity.inc Whether this entity type should use the static cache.
DrupalDefaultEntityController::$entityCache property includes/entity.inc Static cache of entities, keyed by entity ID.
DrupalDefaultEntityController::$entityInfo property includes/entity.inc Array of information about the entity.
DrupalDefaultEntityController::$entityType property includes/entity.inc Entity type for this controller instance.
DrupalDefaultEntityController::$hookLoadArguments property includes/entity.inc Additional arguments to pass to hook_TYPE_load().
DrupalDefaultEntityController::$idKey property includes/entity.inc Name of the entity's ID field in the entity database table.
DrupalDefaultEntityController::$revisionKey property includes/entity.inc Name of entity's revision database table field, if it supports revisions.
DrupalDefaultEntityController::$revisionTable property includes/entity.inc The table that stores revisions, if the entity supports revisions.
DrupalDefaultEntityController::attachLoad function includes/entity.inc Attaches data to entities upon loading.
DrupalDefaultEntityController::buildQuery function includes/entity.inc Builds the query to load the entity.
DrupalDefaultEntityController::cacheGet function includes/entity.inc Gets entities from the static cache.
DrupalDefaultEntityController::cacheSet function includes/entity.inc Stores entities in the static entity cache.
DrupalDefaultEntityController::cleanIds function includes/entity.inc Ensures integer entity IDs are valid.
DrupalDefaultEntityController::filterId function includes/entity.inc Callback for array_filter that removes non-integer IDs.
DrupalDefaultEntityController::load function includes/entity.inc Implements DrupalEntityControllerInterface::load().
DrupalDefaultEntityController::resetCache function includes/entity.inc Implements DrupalEntityControllerInterface::resetCache().
DrupalDefaultEntityController::__construct function includes/entity.inc Constructor: sets basic variables.
DrupalEntityControllerInterface interface includes/entity.inc Interface for entity controller classes.
DrupalEntityControllerInterface::load function includes/entity.inc Loads one or more entities.
DrupalEntityControllerInterface::resetCache function includes/entity.inc Resets the internal, static entity cache.
EnableDisableTestCase::testEntityInfoCacheWatchdog function modules/system/system.test Tests entity info cache after enabling a module with a dependency on an entity providing module.
EnableDisableTestCase::testEntityInfoChanges function modules/system/system.test Ensures entity info cache is updated after changes.
entity.inc file includes/entity.inc
EntityCrudHookTestCase class modules/simpletest/tests/entity_crud_hook_test.test Tests invocation of hooks when performing an action.
EntityCrudHookTestCase::$ids property modules/simpletest/tests/entity_crud_hook_test.test
EntityCrudHookTestCase::assertHookMessage function modules/simpletest/tests/entity_crud_hook_test.test Pass if the message $text was set by one of the CRUD hooks in
entity_crud_hook_test.module, i.e., if the $text is an element of
$_SESSION['entity_crud_hook_test'].
EntityCrudHookTestCase::getInfo function modules/simpletest/tests/entity_crud_hook_test.test
EntityCrudHookTestCase::setUp function modules/simpletest/tests/entity_crud_hook_test.test Sets up a Drupal site for running functional and integration tests.
EntityCrudHookTestCase::testCommentHooks function modules/simpletest/tests/entity_crud_hook_test.test Tests hook invocations for CRUD operations on comments.
EntityCrudHookTestCase::testFileHooks function modules/simpletest/tests/entity_crud_hook_test.test Tests hook invocations for CRUD operations on files.
EntityCrudHookTestCase::testNodeHooks function modules/simpletest/tests/entity_crud_hook_test.test Tests hook invocations for CRUD operations on nodes.
EntityCrudHookTestCase::testTaxonomyTermHooks function modules/simpletest/tests/entity_crud_hook_test.test Tests hook invocations for CRUD operations on taxonomy terms.
EntityCrudHookTestCase::testTaxonomyVocabularyHooks function modules/simpletest/tests/entity_crud_hook_test.test Tests hook invocations for CRUD operations on taxonomy vocabularies.
EntityCrudHookTestCase::testUserHooks function modules/simpletest/tests/entity_crud_hook_test.test Tests hook invocations for CRUD operations on users.
EntityFieldQuery class includes/entity.inc Retrieves entities matching a given set of conditions.
EntityFieldQuery::$age property includes/entity.inc Flag indicating whether this is querying current or all revisions.
EntityFieldQuery::$altered property includes/entity.inc TRUE if the query has already been altered, FALSE if it hasn't.
EntityFieldQuery::$count property includes/entity.inc TRUE if this is a count query, FALSE if it isn't.
EntityFieldQuery::$deleted property includes/entity.inc Query behavior for deleted data.
EntityFieldQuery::$entityConditions property includes/entity.inc Associative array of entity-generic metadata conditions.
EntityFieldQuery::$executeCallback property includes/entity.inc The method executing the query, if it is overriding the default.
EntityFieldQuery::$fieldConditions property includes/entity.inc List of field conditions.
EntityFieldQuery::$fieldMetaConditions property includes/entity.inc List of field meta conditions (language and delta).
EntityFieldQuery::$fields property includes/entity.inc A list of field arrays used.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.