You are here

function forena_query_close in Forena Reports 8

Same name and namespace in other branches
  1. 7.5 forena_query.inc \forena_query_close()
  2. 7.3 forena_query.inc \forena_query_close()
  3. 7.4 forena_query.inc \forena_query_close()
2 string references to 'forena_query_close'
forena_query_delete_form in forena_query/forena_query.inc
forena_query_editor in forena_query/forena_query.inc
Basic SQL Editor form hook implementation

File

forena_query/forena_query.inc, line 263
forena.datablock.inc Data block building and testing forms.

Code

function forena_query_close($form, &$form_state) {
  Frx::BlockEditor($form_state['storage']['block_name'])
    ->cancel();
  $form_state['rebuild'] = FALSE;
  $form_state['redirect'] = 'admin/structure/forena/data';
}