You are here

function freelinking_search_settings in Freelinking 7.3

Same name and namespace in other branches
  1. 6.3 plugins/freelinking_search.inc \freelinking_search_settings()

Settings callback for Search plugin

File

plugins/freelinking_search.inc, line 55

Code

function freelinking_search_settings() {
  $form['freelinking_search_failover'] = array(
    '#type' => 'select',
    '#title' => t('Failover Option'),
    '#default_value' => variable_get('freelinking_search_failover', 'error'),
    '#options' => array(
      'error' => t('Error Message'),
      'google' => 'Google',
    ),
    '#description' => t('If Search is disabled or inaccessible do something else.'),
  );
  return $form;
}