You are here

function royalsliderfield_field_presave in RoyalSlider Integration 7

Implements hook_field_presave().

File

contrib/royalsliderfield/royalsliderfield.module, line 208
RoyalSlider Field module.

Code

function royalsliderfield_field_presave($entity_type, $entity, $field, $instance, $langcode, &$items) {
  if ($field['type'] == 'royalsliderfields') {
    foreach ($items as $delta => $value) {
      _royalsliderfield_process($items[$delta], $delta, $field, $entity);
    }
  }
}