In Drupal8 deprectaed methods will be removed before Drupal 9.
Replaced with drupal_render() method from the codebase.

Comments

Pashupathi Nath G created an issue. See original summary.

Status: Needs review » Needs work

The last submitted patch, admin_menu-drupalrender.patch, failed testing.

pashupathi nath gajawada’s picture

Status: Needs work » Needs review
rajeshwari10’s picture

Changed \Drupal::service($content) to \Drupal::service('renderer')->render($content).

Thanks!!

Status: Needs review » Needs work

The last submitted patch, 4: 2719983-4.patch, failed testing.