You are here

function potx_menu in Translation template extractor 6.3

Same name and namespace in other branches
  1. 5.2 potx.module \potx_menu()
  2. 5 potx.module \potx_menu()
  3. 6 potx.module \potx_menu()
  4. 6.2 potx.module \potx_menu()
  5. 7.3 potx.module \potx_menu()
  6. 7 potx.module \potx_menu()
  7. 7.2 potx.module \potx_menu()

Implementation of hook_menu().

File

./potx.module, line 26
Drupal translation template extractor.

Code

function potx_menu() {
  $items['admin/build/translate/extract'] = array(
    'title' => 'Extract',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'potx_select_component_form',
    ),
    'access arguments' => array(
      'translate interface',
    ),
    'weight' => 200,
    'type' => MENU_LOCAL_TASK,
    'file' => 'potx.admin.inc',
  );
  return $items;
}