1 block.menus.inc DashboardMenuBlock::formSubmit($form, &$form_state)

Submit handler to save the form settings.

Overrides Block::formSubmit

File

core/modules/dashboard/includes/block.menus.inc, line 152
Dashboard block displaying menus on the site.

Class

DashboardMenuBlock
@file Dashboard block displaying menus on the site.

Code

function formSubmit($form, &$form_state) {
  parent::formSubmit($form, $form_state);

  $this->settings['menus'] = array_keys(array_filter($form_state['values']['menus']));
}