X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fmodules%2Fcontrib%2Fbetter_formats%2Fsrc%2FForm%2FSettingsForm.php;fp=web%2Fmodules%2Fcontrib%2Fbetter_formats%2Fsrc%2FForm%2FSettingsForm.php;h=ec06e3e2fd6a14b710c8399d6a68bae0403949fe;hp=7e28e53c7278f3fb2cee50132e466aa43fd1cb15;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/web/modules/contrib/better_formats/src/Form/SettingsForm.php b/web/modules/contrib/better_formats/src/Form/SettingsForm.php index 7e28e53c7..ec06e3e2f 100644 --- a/web/modules/contrib/better_formats/src/Form/SettingsForm.php +++ b/web/modules/contrib/better_formats/src/Form/SettingsForm.php @@ -34,13 +34,13 @@ class SettingsForm extends ConfigFormBase { $form['control'] = [ '#type' => 'fieldset', - '#title' => t('Control'), + '#title' => $this->t('Control'), ]; $form['control']['per_field_core'] = [ '#type' => 'checkbox', - '#title' => t('Use field default'), - '#description' => t('Use the core field module default value to set the default format. This will force the default format even when the default field value is empty. To set a default format you must re-edit a text field after saving it with the "Filtered text" option turned on.'), + '#title' => $this->t('Use field default'), + '#description' => $this->t('Use the core field module default value to set the default format. This will force the default format even when the default field value is empty. To set a default format you must re-edit a text field after saving it with the "Filtered text" option turned on.'), '#default_value' => $config->get('per_field_core'), ];