Verified Commit 37e205cc authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2864115 by smustgrave, hass, amit.drupal, mstrelan: Simplify wording of...

Issue #2864115 by smustgrave, hass, amit.drupal, mstrelan: Simplify wording of "create a css class" label in Views

(cherry picked from commit 9d8aaef0)
parent ec6f344d
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -605,7 +605,7 @@ public function buildOptionsForm(&$form, FormStateInterface $form_state) {

    $form['element_class_enable'] = [
      '#type' => 'checkbox',
      '#title' => $this->t('Create a CSS class'),
      '#title' => $this->t('Add HTML class'),
      '#states' => [
        'visible' => [
          ':input[name="options[element_type_enable]"]' => ['checked' => TRUE],
@@ -649,7 +649,7 @@ public function buildOptionsForm(&$form, FormStateInterface $form_state) {
    ];
    $form['element_label_class_enable'] = [
      '#type' => 'checkbox',
      '#title' => $this->t('Create a CSS class'),
      '#title' => $this->t('Add HTML class'),
      '#states' => [
        'visible' => [
          ':input[name="options[element_label_type_enable]"]' => ['checked' => TRUE],
@@ -694,7 +694,7 @@ public function buildOptionsForm(&$form, FormStateInterface $form_state) {

    $form['element_wrapper_class_enable'] = [
      '#type' => 'checkbox',
      '#title' => $this->t('Create a CSS class'),
      '#title' => $this->t('Add HTML class'),
      '#states' => [
        'visible' => [
          ':input[name="options[element_wrapper_type_enable]"]' => ['checked' => TRUE],