Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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()
Comment | File | Size | Author |
---|---|---|---|
#2 | statistics-2014013-2.patch | 1.43 KB | kgoel |
Comments
Comment #1
kgoel CreditAttribution: kgoel commentedComment #2
kgoel CreditAttribution: kgoel commentedComment #3
dcam CreditAttribution: dcam commented#2 looks good. The patch replaces all instances of drupal_container() in the statistics module.
Comment #4
webchickCommitted and pushed to 8.x. Thanks!
Comment #5
ddrozdik CreditAttribution: ddrozdik commented