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())

#1 2011084-file-drupal-service-1.patch424 bytesjlandfried
PASSED: [[SimpleTest]]: [MySQL] 56,559 pass(es). View
Members fund testing for the Drupal project. Drupal Association Learn more


jlandfried’s picture

Status: Active » Needs review
424 bytes
PASSED: [[SimpleTest]]: [MySQL] 56,559 pass(es). View
ddrozdik’s picture

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

ddrozdik’s picture

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

ddrozdik’s picture

Status: Needs review » Reviewed & tested by the community
webchick’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed to 8.x. Thanks!

ddrozdik’s picture

Status: Fixed » Closed (fixed)