You are here

Functions in Entity API 7

Primary tabs

Namesort descending Location Description Direct uses Strings
entity_hook_field_info ./entity.api.php Provide entity property information for fields.
entity_hook_info includes/entity.property.inc Implements hook_hook_info().
entity_i18n_controller ./entity.i18n.inc Gets the i18n controller for a given entity type. 3
entity_i18n_object_info ./entity.i18n.inc Implements hook_i18n_object_info().
entity_i18n_string ./entity.module Helper for using i18n_string(). 2
entity_i18n_string_info ./entity.i18n.inc Implements hook_i18n_string_info().
entity_i18n_string_objects ./entity.i18n.inc Implements hook_i18n_string_objects().
entity_id ./entity.module Returns the entity identifier, i.e. the entities name or numeric id. 10
entity_import ./entity.module Imports an entity. 2
entity_key_array_by_property ./entity.module Converts an array of entities to be keyed by the values of a given property. 6
entity_load_multiple_by_name ./entity.module A wrapper around entity_load() to return entities keyed by name key if existing. 9
entity_load_single ./entity.module A wrapper around entity_load() to load a single entity by name or numeric id. 8
entity_menu ./entity.module Implements hook_menu().
entity_metadata_book_entity_property_info_alter modules/book.info.inc Implements hook_entity_property_info_alter() on top of book module.
entity_metadata_book_get_properties modules/callbacks.inc Callback for getting book node properties. 1
entity_metadata_comment_access modules/callbacks.inc Access callback for the comment entity. 1
entity_metadata_comment_entity_property_info modules/comment.info.inc Implements hook_entity_property_info() on top of comment module.
entity_metadata_comment_entity_property_info_alter modules/comment.info.inc Implements hook_entity_property_info_alter() on top of comment module.
entity_metadata_comment_get_node_properties modules/callbacks.inc Callback for getting comment related node properties. 1
entity_metadata_comment_get_properties modules/callbacks.inc Callback for getting comment properties. 1
entity_metadata_comment_properties_access modules/callbacks.inc Access callback for restricted comment properties. 1
entity_metadata_comment_setter modules/callbacks.inc Callback for setting comment properties. 1
entity_metadata_convert_schema ./entity.info.inc Converts the schema information available for the given table to property info. 1
entity_metadata_create_comment modules/callbacks.inc Callback to create a new comment. 1
entity_metadata_create_node modules/callbacks.inc Callback to create a new node. 1
entity_metadata_create_object modules/callbacks.inc Callback to create entity objects. 1
entity_metadata_delete_file modules/callbacks.inc Callback to delete a file. Watch out to not accidentilly implement hook_file_delete(). 1
entity_metadata_entity_get_properties modules/callbacks.inc Callback for getting properties of an entity. 4
entity_metadata_field_access_callback modules/callbacks.inc Callback to determine access for properties which are fields. 1
entity_metadata_field_default_property_callback modules/field.info.inc Callback to add in property info defaults per field instance. 1
entity_metadata_field_entity_property_info modules/field.info.inc Implements hook_entity_property_info() on top of field module.
entity_metadata_field_file_callback modules/field.info.inc Additional callback to adapt the property info for file fields. 1
entity_metadata_field_file_create_item modules/callbacks.inc Callback for auto-creating file field $items. 1
entity_metadata_field_file_get modules/callbacks.inc Callback for getting the file entity of file fields. 2
entity_metadata_field_file_set modules/callbacks.inc Callback for setting the file entity of file fields. 2
entity_metadata_field_file_validate_item modules/callbacks.inc Callback for validating file field $items. 1
entity_metadata_field_get_language modules/callbacks.inc Helper for determining the field language to be used. 4
entity_metadata_field_image_callback modules/field.info.inc Additional callback to adapt the property info for image fields. This callback gets invoked after entity_metadata_field_file_callback(). 1
entity_metadata_field_options_list modules/callbacks.inc Callback returning the options list of a field. 2
entity_metadata_field_property_get modules/callbacks.inc Callback for getting field property values. 1
entity_metadata_field_property_set modules/callbacks.inc Callback for setting field property values. 1
entity_metadata_field_query modules/callbacks.inc Callback for querying entities by field values. This function just queries for the value of the first specified column. Also it is only suitable for fields that don't process the data, so it's stored the same way as returned. 2
entity_metadata_field_term_reference_callback modules/field.info.inc Additional callback to adapt the property info for term reference fields. 1
entity_metadata_field_text_formats modules/callbacks.inc Defines the list of all available text formats. 1
entity_metadata_field_text_get modules/callbacks.inc Callback for getting the sanitized text of 'text_formatted' properties. This callback is used for both the 'value' and the 'summary'. 1
entity_metadata_field_text_property_callback modules/field.info.inc Additional callback to adapt the property info for text fields. If a text field is processed we make use of a separate data structure so that format filters are available too. For the text value that is sanitized, this processed value is returned by… 1
entity_metadata_field_verbatim_get modules/callbacks.inc Callback to verbatim get the data structure of a field. Useful for fields that add metadata for their own data structure. 4
entity_metadata_field_verbatim_set modules/callbacks.inc Writes the passed field items in the object. Useful as field level setter to set the whole data structure at once. 4
entity_metadata_file_access modules/callbacks.inc Access callback for file entities. 1
entity_metadata_form_comment modules/callbacks.inc Callback to get the form of a comment. 1

Pages

Other projects