function potx_test_6_menu in Translation template extractor 7
Same name and namespace in other branches
- 8 tests/potx_test_6.module \potx_test_6_menu()
- 6.3 tests/potx_test_6.module \potx_test_6_menu()
- 7.3 tests/potx_test_6.module \potx_test_6_menu()
- 7.2 tests/potx_test_6.module \potx_test_6_menu()
Implementation of hook_menu()
File
- tests/
potx_test_6.module, line 11 - File used purely to test the parser in potx.
Code
function potx_test_6_menu() {
$items = array();
$items['translate/test'] = array(
'title' => 'Test menu item',
'description' => 'This is a test menu item',
'page callback' => 'potx_test_6_page',
);
$items['translate/test-empty'] = array(
'title' => '',
);
$items['translate/test-empty']['description'] = 'Test menu item description';
return $items;
}