You are here

function eva_form_views_ui_edit_form_alter in EVA: Entity Views Attachment 7

Implements hook_form_FORM_ID_alter().

File

./eva.module, line 332

Code

function eva_form_views_ui_edit_form_alter(&$form, &$form_state, $form_id) {

  // Clear the field cache when views are saved. This will make sure newly
  // created EVA views and/or exposed filters will appear.
  $form['actions']['save']["#submit"][] = 'field_cache_clear';
}