Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
system.module
Priority:
Normal
Category:
Task
Assigned:
Issue tags:
Reporter:
Created:
6 May 2013 at 09:28 UTC
Updated:
29 Jul 2014 at 22:18 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
vijaycs85Need to rewrite the whole module to make test sync with current test implementation. For more details, please refer: #1988802: [META] Rewrite test modules in system to provide better unit testing.
Comment #2
ayelet_Cr commentedComment #3
disasm commentedComment #4
disasm commentedconversion patch.
Comment #5
dawehnerThis should have a newline in between.
You should return just a response object.
this hook can be removed as it is, because MENU_CALLBACKs are directly replaced with controllers.
Comment #6
dawehner.
Comment #7
disasm commentedAttached patch addresses comments in #5.
Comment #8
dawehnerLet's also add a simple @return on there.
Comment #9
disasm commentedComment #10
dawehnerThank you.
Comment #11
alexpottCommitted 80d9f5c and pushed to 8.x. Thanks!
At some point we need to replace current_path and request_path with stuff based on Symfony's Request object.
I think we should use the Request to get the currecnt path. The function uses
drupal_container()->get('request')->attributes->get('_system_path')