You are here

function custom_search_blocks_block_configure in Custom Search 7

Implements hook_block_configure().

File

modules/custom_search_blocks/custom_search_blocks.module, line 68
Bring additional search blocks

Code

function custom_search_blocks_block_configure($delta = '') {

  // Basic settings.
  $form = _custom_search_default_admin_form($delta);

  // Content.
  $form['content'] = array(
    '#type' => 'fieldset',
    '#title' => t('Content'),
    '#collapsible' => TRUE,
    '#collapsed' => TRUE,
  );
  $form['content'] = array_merge($form['content'], _custom_search_content_admin_form($delta));

  // Custom search paths.
  $form = array_merge($form, _custom_search_custom_paths_admin_form($delta));

  // Ordering.
  $form = array_merge($form, _custom_search_ordering_admin_form($delta));
  $form['order']['#weight'] = 50;
  return $form;
}