Commit 0a4ecfdc authored by alexpott's avatar alexpott

Issue #2259317 by effulgentsia: Remove _system_path usage from system_test.module.

parent daeb8b44
......@@ -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') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment