1 menu_test.module menu_test_title_callback($title, $case_no = 3)

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).

File

core/modules/simpletest/tests/menu_test.module, line 582
Dummy module implementing hook menu.

Code

function menu_test_title_callback($title, $case_no = 3) {
  return t($title) . ' - Case ' . $case_no;
}