You are here

function paragraphs_pack_field_update_field in Paragraphs pack 7

Implements hook_field_update_field().

File

includes/paragraphs_pack.fields.inc, line 171
Implements custom fields: PP_FIELD_TYPE_VIEW_MODE.

Code

function paragraphs_pack_field_update_field($field, $prior_field, $has_data) {
  switch ($field['type']) {
    case PP_FIELD_TYPE_VIEW_MODE:
      drupal_static_reset('paragraphs_pack_get_allowed_view_modes');
      break;
  }
}