function inline_conditions_field_insert in Inline Conditions 7
Implements hook_field_insert().
Call inline_conditions_prepare_field_items() in order to rebuild items.
See also
inline_conditions_field_prepare_items()
File
- ./
inline_conditions.field.inc, line 86 - Field module functionality for the Inline Conditions module.
Code
function inline_conditions_field_insert($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);
}
}