function potx_menu in Translation template extractor 7
Same name and namespace in other branches
- 5.2 potx.module \potx_menu()
- 5 potx.module \potx_menu()
- 6.3 potx.module \potx_menu()
- 6 potx.module \potx_menu()
- 6.2 potx.module \potx_menu()
- 7.3 potx.module \potx_menu()
- 7.2 potx.module \potx_menu()
Implementation of hook_menu().
File
- ./
potx.module, line 26 - Gettext translation template and translation extractor.
Code
function potx_menu() {
$items['admin/config/regional/translate/extract'] = array(
'title' => 'Extract',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'potx_select_form',
),
'access arguments' => array(
'translate interface',
),
'weight' => 200,
'type' => MENU_LOCAL_TASK,
);
return $items;
}