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)

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ebeyrent’s picture

Status: Active » Needs review
FileSize
1.52 KB
dawehner’s picture

Looks pretty good. I would assume that there is an issue to convert Drupal::service to Drupal::pluginManager

Status: Needs review » Needs work

The last submitted patch, 2003630-1.patch, failed testing.

alexander.ilivanov’s picture

Assigned: ebeyrent » alexander.ilivanov
Status: Needs work » Needs review
Issue tags: +CodeSprintUA
FileSize
1.52 KB

drupal_container() replaced
Patch attached.

podarok’s picture

Status: Needs review » Reviewed & tested by the community

if bot happy - rtbc
patch looks good for me

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 24f36dd and pushed to 8.x. Thanks!

Automatically closed -- issue fixed for 2 weeks with no activity.