diff --git c/core/modules/system/tests/modules/batch_test/batch_test.module w/core/modules/system/tests/modules/batch_test/batch_test.module index 689b863..7cd28aa 100644 --- c/core/modules/system/tests/modules/batch_test/batch_test.module +++ w/core/modules/system/tests/modules/batch_test/batch_test.module @@ -44,35 +44,30 @@ function batch_test_menu() { // Programmatic form: the page submits the 'Chained' form through // drupal_form_submit(). $items['batch-test/programmatic'] = array( - 'title' => 'Programmatic', 'route_name' => 'batch_test_programmatic', 'type' => MENU_LOCAL_TASK, 'weight' => 3, ); // No form: fire a batch simply by accessing a page. $items['batch-test/no-form'] = array( - 'title' => 'Simple page', 'route_name' => 'batch_test_no_form', 'type' => MENU_LOCAL_TASK, 'weight' => 4, ); // No form: fire a batch; return > 100% complete $items['batch-test/large-percentage'] = array( - 'title' => 'Simple page with batch over 100% complete', 'route_name' => 'batch_test_large_percentage', 'type' => MENU_LOCAL_TASK, 'weight' => 5, ); // Tests programmatic form submission within a batch operation. $items['batch-test/nested-programmatic'] = array( - 'title' => 'Nested programmatic', 'route_name' => 'batch_test_nested_programmatic', 'type' => MENU_LOCAL_TASK, 'weight' => 6, ); // Landing page to test redirects. $items['batch-test/redirect'] = array( - 'title' => 'Redirect', 'route_name' => 'batch_test_redirect', 'type' => MENU_LOCAL_TASK, 'weight' => 7, diff --git c/core/modules/system/tests/modules/batch_test/batch_test.routing.yml w/core/modules/system/tests/modules/batch_test/batch_test.routing.yml index d955bd0..da1418c 100644 --- c/core/modules/system/tests/modules/batch_test/batch_test.routing.yml +++ w/core/modules/system/tests/modules/batch_test/batch_test.routing.yml @@ -2,6 +2,7 @@ batch_test_redirect: pattern: '/batch-test/redirect' defaults: _content: '\Drupal\batch_test\Controller\BatchTestController::testRedirect' + _title: 'Redirect' requirements: _access: 'TRUE' @@ -9,6 +10,7 @@ batch_test_large_percentage: pattern: '/batch-test/large-percentage' defaults: _content: '\Drupal\batch_test\Controller\BatchTestController::testLargePercentage' + _title: 'Simple page with batch over 100% complete' requirements: _access: 'TRUE' @@ -16,6 +18,8 @@ batch_test_nested_programmatic: pattern: '/batch-test/nested-programmatic/{value}' defaults: _content: '\Drupal\batch_test\Controller\BatchTestController::testNestedDrupalFormSubmit' + _title: 'Nested programmatic' + value: '1' requirements: _access: 'TRUE' @@ -23,6 +27,7 @@ batch_test_no_form: pattern: '/batch-test/no-form' defaults: _content: '\Drupal\batch_test\Controller\BatchTestController::testNoForm' + _title: 'Simple page' requirements: _access: 'TRUE' @@ -30,6 +35,8 @@ batch_test_programmatic: pattern: '/batch-test/programmatic/{value}' defaults: _content: '\Drupal\batch_test\Controller\BatchTestController::testProgrammatic' + _title: 'Programmatic' + value: '1' requirements: _access: 'TRUE'