drupal_container() is deprecated, and all calls in the path 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())
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | path-2011116-4.patch | 7.42 KB | kgoel |
| #4 | interdiff.txt | 3.16 KB | kgoel |
| #2 | path-2011116-2.patch | 7.39 KB | kgoel |
Comments
Comment #1
kgoel commentedComment #2
kgoel commentedComment #3
dcam commentedIt looks like there are a lot of calls in PathAliasTest.php that need to be converted to this->container->get().
Comment #4
kgoel commentedComment #5
dcam commented#4 looks good. The patch converts all uses of drupal_container() in the path module.
Comment #6
webchickCommitted and pushed to 8.x. Thanks!
Comment #7
ddrozdik commented