Skip to content
Snippets Groups Projects
Commit 91fc5a80 authored by Angie Byron's avatar Angie Byron
Browse files

#565664 by c960657: Remove t() from 'title' in various test modules' hook_menu().

parent 0fa1e148
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
*/ */
function file_test_menu() { function file_test_menu() {
$items['file-test/upload'] = array( $items['file-test/upload'] = array(
'title' => t('Upload test'), 'title' => 'Upload test',
'page callback' => 'drupal_get_form', 'page callback' => 'drupal_get_form',
'page arguments' => array('_file_test_form'), 'page arguments' => array('_file_test_form'),
'access arguments' => array('access content'), 'access arguments' => array('access content'),
......
...@@ -6,45 +6,45 @@ ...@@ -6,45 +6,45 @@
*/ */
function session_test_menu() { function session_test_menu() {
$items['session-test/get'] = array( $items['session-test/get'] = array(
'title' => t('Session value'), 'title' => 'Session value',
'page callback' => '_session_test_get', 'page callback' => '_session_test_get',
'access arguments' => array('access content'), 'access arguments' => array('access content'),
'type' => MENU_CALLBACK, 'type' => MENU_CALLBACK,
); );
$items['session-test/id'] = array( $items['session-test/id'] = array(
'title' => t('Session ID value'), 'title' => 'Session ID',
'page callback' => '_session_test_id', 'page callback' => '_session_test_id',
'access arguments' => array('access content'), 'access arguments' => array('access content'),
'type' => MENU_CALLBACK, 'type' => MENU_CALLBACK,
); );
$items['session-test/set/%'] = array( $items['session-test/set/%'] = array(
'title' => t('Set Session value'), 'title' => 'Set session value',
'page callback' => '_session_test_set', 'page callback' => '_session_test_set',
'page arguments' => array(2), 'page arguments' => array(2),
'access arguments' => array('access content'), 'access arguments' => array('access content'),
'type' => MENU_CALLBACK, 'type' => MENU_CALLBACK,
); );
$items['session-test/no-set/%'] = array( $items['session-test/no-set/%'] = array(
'title' => t('Disabled session set value'), 'title' => 'Set session value but do not save session',
'page callback' => '_session_test_no_set', 'page callback' => '_session_test_no_set',
'page arguments' => array(2), 'page arguments' => array(2),
'access arguments' => array('access content'), 'access arguments' => array('access content'),
'type' => MENU_CALLBACK, 'type' => MENU_CALLBACK,
); );
$items['session-test/set-message'] = array( $items['session-test/set-message'] = array(
'title' => t('Session value'), 'title' => 'Set message',
'page callback' => '_session_test_set_message', 'page callback' => '_session_test_set_message',
'access arguments' => array('access content'), 'access arguments' => array('access content'),
'type' => MENU_CALLBACK, 'type' => MENU_CALLBACK,
); );
$items['session-test/set-message-but-dont-save'] = array( $items['session-test/set-message-but-dont-save'] = array(
'title' => t('Session value'), 'title' => 'Set message but do not save session',
'page callback' => '_session_test_set_message_but_dont_save', 'page callback' => '_session_test_set_message_but_dont_save',
'access arguments' => array('access content'), 'access arguments' => array('access content'),
'type' => MENU_CALLBACK, 'type' => MENU_CALLBACK,
); );
$items['session-test/set-not-started'] = array( $items['session-test/set-not-started'] = array(
'title' => t('Session value'), 'title' => 'Set message when session is not started',
'page callback' => '_session_test_set_not_started', 'page callback' => '_session_test_set_not_started',
'access arguments' => array('access content'), 'access arguments' => array('access content'),
'type' => MENU_CALLBACK, 'type' => MENU_CALLBACK,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment