Problem/Motivation
drupal_container() is deprecated.
Proposed resolution
Use the Drupal class instead.
Remaining tasks
In the patch I replaced all calls to drupal_container()-get() with Drupal::service(), but I'm not quite sure what to do with the other calls.
I guess we should use Drupal::getContainer() there?
Attachment | Size | Status | Test result | Operations |
---|---|---|---|---|
drupal-drupal_container_depricated.patch | 6.44 KB | Ignored: Check issue status. | None | None |