drupal_container() is deprecated, and all calls in the tour 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())
This task a part of #2001206: Replace drupal_container() with Drupal::service()
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | tour-2014031-2.patch | 2.77 KB | kgoel |
Comments
Comment #1
kgoel commentedComment #2
kgoel commentedComment #3
dcam commented#2 looks good. It replaces all instances of drupal_container() in the tour module.
Comment #4
webchickCommitted and pushed to 8.x. Thanks!
Comment #5
ddrozdik commented