X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fbook%2Fsrc%2FForm%2FBookAdminEditForm.php;fp=web%2Fcore%2Fmodules%2Fbook%2Fsrc%2FForm%2FBookAdminEditForm.php;h=1e7cdb4b95a417717a5f4346d820a6116789cb1f;hp=e91f52ea8b2576b018c4cfca010d45041b9a2e7e;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5 diff --git a/web/core/modules/book/src/Form/BookAdminEditForm.php b/web/core/modules/book/src/Form/BookAdminEditForm.php index e91f52ea8..1e7cdb4b9 100644 --- a/web/core/modules/book/src/Form/BookAdminEditForm.php +++ b/web/core/modules/book/src/Form/BookAdminEditForm.php @@ -220,7 +220,7 @@ class BookAdminEditForm extends FormBase { } $form[$id]['title'] = [ - '#prefix' => !empty($indentation) ? drupal_render($indentation) : '', + '#prefix' => !empty($indentation) ? \Drupal::service('renderer')->render($indentation) : '', '#type' => 'textfield', '#default_value' => $data['link']['title'], '#maxlength' => 255,