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

(cherry picked from commit 9d8aaef0c1)
merge-requests/2830/head
Alex Pott 2022-10-04 22:01:34 +01:00
parent 073dd1f255
commit 15040b42e2
No known key found for this signature in database
GPG Key ID: BDA67E7EE836E5CE
1 changed files with 3 additions and 3 deletions

View File

@ -590,7 +590,7 @@ abstract class FieldPluginBase extends HandlerBase implements FieldHandlerInterf
$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],
@ -634,7 +634,7 @@ abstract class FieldPluginBase extends HandlerBase implements FieldHandlerInterf
];
$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],
@ -679,7 +679,7 @@ abstract class FieldPluginBase extends HandlerBase implements FieldHandlerInterf
$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],