You are here

function minisite_field_presave in Mini site 7

Implements hook_field_presave().

File

includes/minisite.field.inc, line 95
Minisite field.

Code

function minisite_field_presave($entity_type, $entity, $field, $instance, $langcode, &$items) {
  file_field_presave($entity_type, $entity, $field, $instance, $langcode, $items);

  // Save and extract minisite.
  minisite_site_save($entity_type, $entity, $field, $instance, $langcode, $items);
}