Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / core / lib / Drupal / Core / Field / Plugin / Field / FieldWidget / BooleanCheckboxWidget.php
index 1d4a202f00fe0d815492adeff84ea20db26644a8..660a06460e778c0181da8a2b90957d861c838f35 100644 (file)
@@ -35,7 +35,7 @@ class BooleanCheckboxWidget extends WidgetBase {
   public function settingsForm(array $form, FormStateInterface $form_state) {
     $element['display_label'] = [
       '#type' => 'checkbox',
-      '#title' => t('Use field label instead of the "On label" as label'),
+      '#title' => t('Use field label instead of the "On" label as the label.'),
       '#default_value' => $this->getSetting('display_label'),
       '#weight' => -1,
     ];