Line   tabledrag_example/src/Form/TableDragExampleNestedForm.php
------ ------------------------------------------------------------------
 121    Call to deprecated function drupal_render():
        as of Drupal 8.0.x, will be removed before Drupal 9.0.0. Use the
------ ------------------------------------------------------------------

------ ------------------------------------------------------------------
 Line   tabledrag_example/src/Form/TableDragExampleRootLeafForm.php
------ ------------------------------------------------------------------
 156    Call to deprecated function drupal_render():
        as of Drupal 8.0.x, will be removed before Drupal 9.0.0. Use the

Comments

Shefarik created an issue. See original summary.

anna d’s picture

Status: Active » Needs review
StatusFileSize
new1.79 KB
sershevchyk’s picture

Status: Needs review » Needs work

Need to fix the same problem in TableDragExampleNestedForm.php file

vik-winner’s picture

Status: Needs work » Needs review
StatusFileSize
new3.66 KB
new2.17 KB
andypost’s picture

Status: Needs review » Reviewed & tested by the community

This one should go and repurpose remains (tabledrag_example_data() conversion) #3072411: Fix tabledrag_example module to allow drupal-check run and convert tabledrag_example_data() usage

valthebald’s picture

StatusFileSize
new2.14 KB
new5.57 KB

Replaced also mentions of drupal_render() with "renderer service" in comments

  • valthebald committed 382d7d0 on 8.x-1.x
    Issue #3072423 by vik-winner, valthebald, Anna Demianik: Call to...
valthebald’s picture

Status: Reviewed & tested by the community » Fixed

Committed to 8.x-1.x, thank you!

Status: Fixed » Closed (fixed)

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

kristen pol’s picture

Issue tags: +Drupal 9 compatibility

Per a Slack discussion with Gábor Hojtsy regarding usage of D9 tags (Drupal 9, Drupal 9 compatibility, Drupal 9 readiness, etc.), "Drupal 9 compatibility" should be used for contributed projects that need updating and "Drupal 9" was the old tag for D8 issues before the D9 branch was ready. Doing tag cleanup here based on that discussion.

kristen pol’s picture

[removing double post]