You are here

function potx_menu in Translation template extractor 7

Same name and namespace in other branches
  1. 5.2 potx.module \potx_menu()
  2. 5 potx.module \potx_menu()
  3. 6.3 potx.module \potx_menu()
  4. 6 potx.module \potx_menu()
  5. 6.2 potx.module \potx_menu()
  6. 7.3 potx.module \potx_menu()
  7. 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;
}