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
parent
073dd1f255
commit
15040b42e2
|
@ -590,7 +590,7 @@ abstract class FieldPluginBase extends HandlerBase implements FieldHandlerInterf
|
||||||
|
|
||||||
$form['element_class_enable'] = [
|
$form['element_class_enable'] = [
|
||||||
'#type' => 'checkbox',
|
'#type' => 'checkbox',
|
||||||
'#title' => $this->t('Create a CSS class'),
|
'#title' => $this->t('Add HTML class'),
|
||||||
'#states' => [
|
'#states' => [
|
||||||
'visible' => [
|
'visible' => [
|
||||||
':input[name="options[element_type_enable]"]' => ['checked' => TRUE],
|
':input[name="options[element_type_enable]"]' => ['checked' => TRUE],
|
||||||
|
@ -634,7 +634,7 @@ abstract class FieldPluginBase extends HandlerBase implements FieldHandlerInterf
|
||||||
];
|
];
|
||||||
$form['element_label_class_enable'] = [
|
$form['element_label_class_enable'] = [
|
||||||
'#type' => 'checkbox',
|
'#type' => 'checkbox',
|
||||||
'#title' => $this->t('Create a CSS class'),
|
'#title' => $this->t('Add HTML class'),
|
||||||
'#states' => [
|
'#states' => [
|
||||||
'visible' => [
|
'visible' => [
|
||||||
':input[name="options[element_label_type_enable]"]' => ['checked' => TRUE],
|
':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'] = [
|
$form['element_wrapper_class_enable'] = [
|
||||||
'#type' => 'checkbox',
|
'#type' => 'checkbox',
|
||||||
'#title' => $this->t('Create a CSS class'),
|
'#title' => $this->t('Add HTML class'),
|
||||||
'#states' => [
|
'#states' => [
|
||||||
'visible' => [
|
'visible' => [
|
||||||
':input[name="options[element_wrapper_type_enable]"]' => ['checked' => TRUE],
|
':input[name="options[element_wrapper_type_enable]"]' => ['checked' => TRUE],
|
||||||
|
|
Loading…
Reference in New Issue