diff --git a/core/modules/system/tests/modules/ajax_test/ajax_test.module b/core/modules/system/tests/modules/ajax_test/ajax_test.module index 3d01f2a..67a9340 100644 --- a/core/modules/system/tests/modules/ajax_test/ajax_test.module +++ b/core/modules/system/tests/modules/ajax_test/ajax_test.module @@ -35,10 +35,6 @@ function ajax_test_menu() { 'access callback' => TRUE, 'type' => MENU_CALLBACK, ); - $items['ajax-test/dialog'] = array( - 'title' => 'AJAX Dialog', - 'route_name' => 'ajax_test_dialog', - ); $items['ajax-test/dialog-close'] = array( 'title' => 'AJAX Dialog close', 'page callback' => 'ajax_test_dialog_close', diff --git a/core/modules/system/tests/modules/ajax_test/ajax_test.routing.yml b/core/modules/system/tests/modules/ajax_test/ajax_test.routing.yml index 6b45ab9..bffadb7 100644 --- a/core/modules/system/tests/modules/ajax_test/ajax_test.routing.yml +++ b/core/modules/system/tests/modules/ajax_test/ajax_test.routing.yml @@ -13,6 +13,7 @@ ajax_test_dialog_form: ajax_test_dialog: pattern: 'ajax-test/dialog' defaults: + _title: 'AJAX Dialog' _content: '\Drupal\ajax_test\AjaxTestController::dialog' requirements: _access: 'TRUE'