function search_by_page_search_admin in Search by Page 7
Same name and namespace in other branches
- 8 search_by_page.module \search_by_page_search_admin()
Implements hook_search_admin().
Adds a link to the Search by Page settings form.
File
- ./
search_by_page.module, line 616 - Main module file for Drupal module Search by Page.
Code
function search_by_page_search_admin() {
$form = array();
$form['search_by_page'] = array(
'#type' => 'fieldset',
'#title' => t('Search by Page settings'),
);
$form['search_by_page']['info'] = array(
'#type' => 'markup',
'#markup' => '<p>' . l(t('Configure Search by Page settings'), 'admin/config/search/search_by_page') . '</p>',
);
$form['search_by_page']['status'] = _search_by_page_status_details();
return $form;
}