function menu_test_title_callback in Drupal 7
Same name and namespace in other branches
- 8 core/modules/system/tests/modules/menu_test/menu_test.module \menu_test_title_callback()
- 9 core/modules/system/tests/modules/menu_test/menu_test.module \menu_test_title_callback()
- 10 core/modules/system/tests/modules/menu_test/menu_test.module \menu_test_title_callback()
Concatenates a string, by using the t() function and a case number.
Parameters
$title: Title string.
$case_number: The current case number which is tests (defaults to 3).
1 string reference to 'menu_test_title_callback'
- menu_test_menu in modules/
simpletest/ tests/ menu_test.module - Implements hook_menu().
File
- modules/
simpletest/ tests/ menu_test.module, line 561 - Dummy module implementing hook menu.
Code
function menu_test_title_callback($title, $case_no = 3) {
return t($title) . ' - Case ' . $case_no;
}