drupal_container() is deprecated, and all calls in the entity_reference 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)
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | replace-drupal_container-2003630-4.patch | 1.52 KB | alexander.ilivanov |
| #1 | 2003630-1.patch | 1.52 KB | ebeyrent |
Comments
Comment #1
ebeyrent commentedComment #2
dawehnerLooks pretty good. I would assume that there is an issue to convert Drupal::service to Drupal::pluginManager
Comment #4
alexander.ilivanov commenteddrupal_container() replaced
Patch attached.
Comment #5
podarokif bot happy - rtbc
patch looks good for me
Comment #6
alexpottCommitted 24f36dd and pushed to 8.x. Thanks!