1 system.module system_block_configure($delta, $settings)

Implements hook_block_configure().

File

core/modules/system/system.module, line 2692
Configuration system that lets administrators modify the workings of the site.

Code

function system_block_configure($delta, $settings) {
  if ($delta === 'header') {
    return system_header_block_form($settings);
  }
  elseif ($delta === 'breadcrumb') {
    $form['current'] = array(
      '#type' => 'checkbox',
      '#title' => t('Display the current page title as the last breadcrumb'),
      '#default_value' => !empty($settings['current']),
    );
    return $form;
  }
  // System-defined menu blocks.
  foreach (menu_list_system_menus() as $menu_name => $title) {
    if ($delta === $menu_name) {
      module_load_include('inc', 'system', 'system.menu');
      return _system_block_configure($delta, $settings);
    }
  }
}