Entity API for handling entities like nodes or users.

File

core/modules/entity/entity.module

Functions

Namesort descending Description
entity_access Determines whether the given user has access to an entity.
entity_autoload_info Implements hook_autoload_info().
entity_build_content Builds a structured array representing the entity's content.
entity_config_info Implements hook_config_info().
entity_create Constructs a new entity object, without permanently saving it.
entity_create_stub_entity Deprecated Assembles an object structure with initial IDs.
entity_delete_multiple Deletes multiple entities permanently.
entity_extract_ids Extracts ID, revision ID, and bundle name from an entity.
entity_flush_caches Implements hook_flush_caches().
entity_form_field_validate Attaches field API validation to entity forms.
entity_form_submit_build_entity Copies submitted values to entity properties for simple entity forms.
entity_get_controller Gets the entity controller class for an entity type.
entity_get_info Gets the entity info array of an entity type.
entity_info_cache_clear Resets the cached information about entity types.
entity_label Returns the label of an entity.
entity_load Loads a single entity from the database.
entity_load_multiple Loads entities from the database.
entity_load_unchanged Loads the unchanged, i.e. not modified, entity from the database.
entity_modules_disabled Implements hook_modules_disabled().
entity_modules_preenable Implements hook_modules_preenable().
entity_modules_uninstalled Implements hook_modules_uninstalled().
entity_prepare_view Invokes hook_entity_prepare_view().
entity_theme Implements hook_theme().
entity_uri Returns the URI elements of an entity.
entity_view Generate an array for rendering the given entity.
entity_view_mode_delete Delete a custom display mode.
entity_view_mode_exists Helper function: checks if the display mode exists.
entity_view_mode_load Load a custom entity display mode by entity type and machine name.
entity_view_mode_prepare Invoke hook_entity_view_mode_alter().
entity_view_mode_save Save a custom display mode.
entity_view_multiple Generate an array for rendering the given entity.