drupal_container() is deprecated, and all calls in the file 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: Replace calls to drupal_container()->get('module_handler') service with Drupal::moduleHandler())

Files: 
CommentFileSizeAuthor
#1 2011084-file-drupal-service-1.patch424 bytesjiff
PASSED: [[SimpleTest]]: [MySQL] 56,559 pass(es).
[ View ]

Comments

Status:Active» Needs review
StatusFileSize
new424 bytes
PASSED: [[SimpleTest]]: [MySQL] 56,559 pass(es).
[ View ]

looks good, if result of testing will be green - RTBC

#1: 2011084-file-drupal-service-1.patch queued for re-testing.

Status:Needs review» Reviewed & tested by the community

Status:Reviewed & tested by the community» Fixed

Committed and pushed to 8.x. Thanks!

Status:Fixed» Closed (fixed)