function forena_query_delete_block in Forena Reports 7.4
Same name and namespace in other branches
- 8 forena_query/forena_query.inc \forena_query_delete_block()
- 7.5 forena_query.inc \forena_query_delete_block()
- 7.3 forena_query.inc \forena_query_delete_block()
1 string reference to 'forena_query_delete_block'
File
- ./
forena_query.inc, line 256
Code
function forena_query_delete_block($form, &$form_state) {
$block_name = $form_state['values']['block_name'];
Frx::RepoMan()
->deleteBlock($block_name);
$form_state['redirect'] = 'admin/structure/forena/data';
drupal_set_message(t('Deleted %s', array(
'%s' => $block_name,
)));
}