function elf_menu in External Links Filter 7.3
Same name and namespace in other branches
- 5.3 elf.module \elf_menu()
- 5 elf.module \elf_menu()
- 5.2 elf.module \elf_menu()
- 6.3 elf.module \elf_menu()
- 6.2 elf.module \elf_menu()
Implement hook_menu().
File
- ./
elf.module, line 23 - Adds an icon to external and mailto links.
Code
function elf_menu() {
$items['admin/config/content/elf'] = array(
'title' => 'External Links Filter',
'description' => 'Configure the external links filter.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'elf_form_settings',
),
'access arguments' => array(
'administer site configuration',
),
'type' => MENU_NORMAL_ITEM,
);
$items['elf/go'] = array(
'page callback' => 'elf_redirect',
'access callback' => TRUE,
'type' => MENU_CALLBACK,
);
return $items;
}