1 block.admin.inc block_admin_configure_submit($form, &$form_state)

Form submission handler for block_admin_configure().

Parameters

array $form: An associative array containing the structure of a portion of the form.

array $form_state: A keyed array containing the current state of the form.

See also

block_admin_configure()

block_admin_configure_validate()

File

core/modules/block/block.admin.inc, line 191
Admin page callbacks for the block module.

Code

function block_admin_configure_submit($form, &$form_state) {
  block_custom_block_save($form_state['values'], $form_state['values']['delta']);
  backdrop_set_message(t('The block configuration has been saved.'));
  $form_state['redirect'] = 'admin/structure/block';
}