You are here

function inline_conditions_field_update in Inline Conditions 7

Implements hook_field_update().

Call inline_conditions_prepare_field_items() in order to rebuild items.

See also

inline_conditions_field_prepare_items()

File

./inline_conditions.field.inc, line 100
Field module functionality for the Inline Conditions module.

Code

function inline_conditions_field_update($entity_type, $entity, $field, $instance, $langcode, &$items) {

  // Ensures that field is inline_conditions type.
  if ($field['type'] == 'inline_conditions') {
    inline_conditions_field_prepare_items($items);
  }
}