Functions - 7.x - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
field_attach_delete_revision modules/field/field.attach.inc Delete field data for a single revision of an existing entity. The passed entity must have a revision id attribute. 2
field_attach_form modules/field/field.attach.inc Add form elements for all fields for an entity to a form structure. 11
field_attach_form_validate modules/field/field.attach.inc Perform field validation against form-submitted field values. 2
field_attach_insert modules/field/field.attach.inc Save field data for a new entity. 22
field_attach_load modules/field/field.attach.inc Loads fields for the current revisions of a group of entities. 22
field_attach_load_revision modules/field/field.attach.inc Load all fields for previous versions of a group of entities. 5
field_attach_prepare_translation modules/field/field.attach.inc Prepares an entity for translation. 1
field_attach_prepare_view modules/field/field.attach.inc Prepare field data prior to display. 13
field_attach_preprocess modules/field/field.attach.inc Populate the template variables with the field values available for rendering. 5
field_attach_presave modules/field/field.attach.inc Perform necessary operations just before fields data get saved. 5
field_attach_rename_bundle modules/field/field.attach.inc Notify field.module that a bundle was renamed. 4
field_attach_submit modules/field/field.attach.inc Perform necessary operations on field data submitted by a form. 3
field_attach_update modules/field/field.attach.inc Save field data for an existing entity. 13
field_attach_validate modules/field/field.attach.inc Perform field validation against the field data in an entity. 5
field_attach_view modules/field/field.attach.inc Returns a renderable array for the fields on an entity. 10
field_available_languages modules/field/field.multilingual.inc Collects the available languages for the given entity type and field. 12 1
field_behaviors_widget modules/field/field.info.inc Determines the behavior of a widget with respect to an operation. 4
field_bundle_settings modules/field/field.module Gets or sets administratively defined bundle settings. 5 1
field_cache_clear modules/field/field.module Clear the field info and field data caches. 19
field_content_languages modules/field/field.multilingual.inc Returns available content languages. 4
field_create_field modules/field/field.crud.inc Creates a field. 84
field_create_instance modules/field/field.crud.inc Creates an instance of a field, binding it to a bundle. 84
field_cron modules/field/field.module Implements hook_cron().
field_default_extract_form_values modules/field/field.default.inc Extracts field values from submitted form values. 2
field_default_form modules/field/field.form.inc Creates a form element for a field and can populate it with a default value. 1
field_default_form_errors modules/field/field.form.inc Transfer field-level validation errors to widgets. 1
field_default_insert modules/field/field.default.inc Default field 'insert' operation.
field_default_prepare_translation modules/field/field.default.inc Copies source field values into the entity to be prepared.
field_default_prepare_view modules/field/field.default.inc Invokes hook_field_formatter_prepare_view() on the relevant formatters.
field_default_submit modules/field/field.default.inc 1
field_default_validate modules/field/field.default.inc Generic field validation handler.
field_default_view modules/field/field.default.inc Builds a renderable array for one field on one entity instance.
field_delete_field modules/field/field.crud.inc Marks a field and its instances and data for deletion. 8
field_delete_instance modules/field/field.crud.inc Marks a field instance and its data for deletion. 9
field_extract_bundle modules/field/field.module Helper function to extract the bundle name of from a bundle object. 4
field_extra_fields_get_display modules/field/field.module Returns the display settings to use for pseudo-fields in a given view mode. 2
field_filter_xss modules/field/field.module Like filter_xss_admin(), but with a shorter list of allowed tags. 6 1
field_flush_caches modules/field/field.module Implements hook_flush_caches().
field_form_element_after_build modules/field/field.form.inc #after_build callback for field elements in a form. 1
field_form_get_state modules/field/field.form.inc Retrieves processing information about a field from $form_state. 12
field_form_set_state modules/field/field.form.inc Stores processing information about a field in $form_state. 7
field_get_default_value modules/field/field.module Helper function to get the default value for a field on an entity. 2
field_get_display modules/field/field.module Returns the display settings to use for an instance in a given view mode. 2
field_get_items modules/field/field.module Returns the field items in the language they currently would be displayed. 7
field_has_data modules/field/field.module Determine whether a field has any data. 4
field_has_translation_handler modules/field/field.multilingual.inc Checks if a module is registered as a translation handler for a given entity. 5 1
field_help modules/field/field.module Implements hook_help().
field_info_bundles modules/field/field.info.inc Returns information about existing bundles. 8
field_info_cache_clear modules/field/field.info.inc Clears the field info cache without clearing the field data cache. 19
field_info_extra_fields modules/field/field.info.inc Returns a list and settings of pseudo-field elements in a given bundle. 5

Other projects


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