Removed the drupal_render deprecated method from this module's code base.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

rajeshwari10 created an issue. See original summary.

rajeshwari10’s picture

Removed deprecated drupal_render.

NickDickinsonWilde’s picture

Status: Needs review » Needs work
+++ b/advagg_validator/src/Form/CssW3Form.php
@@ -129,7 +129,7 @@ class CssW3Form extends BaseValidatorForm {
       '#items' => $info,
...
+    drupal_set_message(\Drupal::service('renderer')->render($output));

Although it is better to switch away from the drupal_render thing, would be better to use injection.

For now advagg/tests is unported so don't worry about it.

wellme’s picture

Assigned: Unassigned » wellme
wellme’s picture

Assigned: wellme » Unassigned
NickDickinsonWilde’s picture

Status: Needs work » Fixed

Adjusted the patch just for the CSSW3Form.php and to use dependency injection and applied.
Thanks for the patch!

Status: Fixed » Closed (fixed)

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

rajeshwari10’s picture