drupal_render() was marked as deprecated, though its still called in quite some places.
While there are tons of documentation references to
drupal_render(), the majority of actual usages are related to the render system itself.
The render system is being overhauled here:so I suggest that any changes related to the Renderer class or it's associates in the render system be left out of patches here.
- Avoid rendering manually by letting the template who is printing the variable render it.
- Inject the renderer service into service, which uses drupal_render()
- Use \Drupal::service('renderer')->render() for old prodecural code.
- Find all the actionable fixes: Search for
- Create a Patch
User interface changes
Beta phase evaluation
|Issue category||Task because this removes usages of a deprecated function.|
|Issue priority||Not critical because the function in question is not to be removed in this release cycle.|