Loading core/modules/views/src/Plugin/views/field/FieldPluginBase.php +3 −3 Original line number Diff line number Diff line Loading @@ -590,7 +590,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], Loading Loading @@ -634,7 +634,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], Loading Loading @@ -679,7 +679,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], Loading Loading
core/modules/views/src/Plugin/views/field/FieldPluginBase.php +3 −3 Original line number Diff line number Diff line Loading @@ -590,7 +590,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], Loading Loading @@ -634,7 +634,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], Loading Loading @@ -679,7 +679,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], Loading