drupal_container() is deprecated, and all calls in the statistics module need to be replaced with Drupal::service(), except for where the module_handler service is requested, which needs to be replaced with Drupal::moduleHandler() (see #1957154)

This task a part of #2001206: Replace drupal_container() with Drupal::service()

Files: 
CommentFileSizeAuthor
#2 statistics-2014013-2.patch1.43 KBkgoel
PASSED: [[SimpleTest]]: [MySQL] 57,076 pass(es).
[ View ]

Comments

Assigned:Unassigned» kgoel

Status:Active» Needs review
StatusFileSize
new1.43 KB
PASSED: [[SimpleTest]]: [MySQL] 57,076 pass(es).
[ View ]

Status:Needs review» Reviewed & tested by the community

#2 looks good. The patch replaces all instances of drupal_container() in the statistics module.

Status:Reviewed & tested by the community» Fixed

Committed and pushed to 8.x. Thanks!

Status:Fixed» Closed (fixed)