summaryrefslogtreecommitdiffstats
path: root/core/lib/Drupal/Core/Render
diff options
context:
space:
mode:
authorLauri Eskola2017-07-03 15:35:13 (GMT)
committerLauri Eskola2017-07-03 15:35:13 (GMT)
commit7f27bbaba141ff4073a89bb602cee141f2fefe1e (patch)
tree12173caaee666221954495f5451fecd063ddec75 /core/lib/Drupal/Core/Render
parentb5a3346f32f3fea65ec4c1e602c702a20caa6d97 (diff)
Issue #2704871 by pepegarciag, Mile23, Manuel Garcia, ieguskiza, snehi, gaurav.pahuja, dimaro, rajeshwari10, gargsuchi, pashupathi nath gajawada, penyaskito, xjm, ZeiP, Wim Leers, alexpott: Replace usages of deprecated method drupal_render()
Diffstat (limited to 'core/lib/Drupal/Core/Render')
-rw-r--r--core/lib/Drupal/Core/Render/Element/Tableselect.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/lib/Drupal/Core/Render/Element/Tableselect.php b/core/lib/Drupal/Core/Render/Element/Tableselect.php
index a8f0e95..24eb431 100644
--- a/core/lib/Drupal/Core/Render/Element/Tableselect.php
+++ b/core/lib/Drupal/Core/Render/Element/Tableselect.php
@@ -159,7 +159,7 @@ class Tableselect extends Table {
$row += $element['#options'][$key]['#attributes'];
}
// Render the checkbox / radio element.
- $row['data'][] = drupal_render($element[$key]);
+ $row['data'][] = \Drupal::service('renderer')->render($element[$key]);
// As table.html.twig only maps header and row columns by order, create
// the correct order by iterating over the header fields.