function word_link_exchange_menu in Word Link 8
Same name and namespace in other branches
- 7.2 modules/word_link_exchange/word_link_exchange.module \word_link_exchange_menu()
- 7 modules/word_link_exchange/word_link_exchange.module \word_link_exchange_menu()
Implements hook_menu().
File
- modules/
word_link_exchange/ word_link_exchange.module, line 10 - Code for the Word link exchange module.
Code
function word_link_exchange_menu() {
$items = array();
$items['admin/config/content/word-link/import'] = array(
'title' => 'Import',
'description' => 'Import from file or terms',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'word_link_exchange_import_form',
),
'access arguments' => array(
'create word link',
),
'weight' => 1,
'type' => MENU_LOCAL_TASK,
);
$items['admin/config/content/word-link/export'] = array(
'title' => 'Export',
'description' => 'Export to file',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'word_link_exchange_export_form',
),
'access arguments' => array(
'view word link',
),
'weight' => 1,
'type' => MENU_LOCAL_TASK,
);
return $items;
}