summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2014-07-07 10:19:47 (GMT)
committerAlex Pott2014-07-07 10:19:47 (GMT)
commit0a4ecfdc5de8536acb6d746338969fcbf30d3269 (patch)
treedb23b5cb58a361624114a7db0cf369a685ff0385
parentdaeb8b4424b09c9462e5850cf107ad019998761f (diff)
Issue #2259317 by effulgentsia: Remove _system_path usage from system_test.module.
-rw-r--r--core/modules/system/tests/modules/system_test/system_test.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/system/tests/modules/system_test/system_test.module b/core/modules/system/tests/modules/system_test/system_test.module
index 3961833..fc86adc 100644
--- a/core/modules/system/tests/modules/system_test/system_test.module
+++ b/core/modules/system/tests/modules/system_test/system_test.module
@@ -110,7 +110,7 @@ function system_test_lock_exit() {
* Implements hook_page_build().
*/
function system_test_page_build(&$page) {
- $menu_item['path'] = \Drupal::request()->attributes->get('_system_path');
+ $menu_item['path'] = current_path();
$main_content_display = &drupal_static('system_main_content_added', FALSE);
if ($menu_item['path'] == 'system-test/main-content-handling') {