X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fcontent_translation%2Fcontent_translation.admin.inc;fp=web%2Fcore%2Fmodules%2Fcontent_translation%2Fcontent_translation.admin.inc;h=bf33ba0af05d5f83baffe3f695da994b27f97b44;hp=f29a7e655637798ab76145289e86348080677a54;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5 diff --git a/web/core/modules/content_translation/content_translation.admin.inc b/web/core/modules/content_translation/content_translation.admin.inc index f29a7e655..bf33ba0af 100644 --- a/web/core/modules/content_translation/content_translation.admin.inc +++ b/web/core/modules/content_translation/content_translation.admin.inc @@ -209,7 +209,7 @@ function _content_translation_preprocess_language_content_settings_table(&$varia $rows[] = [ 'data' => [ [ - 'data' => drupal_render($field_element), + 'data' => \Drupal::service('renderer')->render($field_element), 'class' => ['translatable'], ], [ @@ -243,7 +243,7 @@ function _content_translation_preprocess_language_content_settings_table(&$varia $rows[] = [ 'data' => [ [ - 'data' => drupal_render($column_element[$key]), + 'data' => \Drupal::service('renderer')->render($column_element[$key]), 'class' => ['translatable'], ], [