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

CommentFileSizeAuthor
#1 2011084-file-drupal-service-1.patch424 bytesjlandfried
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jlandfried’s picture

Status: Active » Needs review
FileSize
424 bytes
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)