'#default_value' =>
$this->options
['click_sort_column'
],
'#description' =>
$this->
t('Used by Style: Table to determine the actual column to click sort the field on. The default is usually fine.'
),
];
} $form['type'
] =
[ '#type' => 'select',
'#title' =>
$this->
t('Formatter'
),
'#options' =>
$formatters,
'#default_value' =>
$this->options
['type'
],
'#ajax' =>
[ 'url' =>
views_ui_build_form_url($form_state),
],
'#submit' =>
[[$this, 'submitTemporaryForm'
]],
'#executes_submit_callback' => TRUE,
];
$form['field_api_classes'
] =
[ '#title' =>
$this->
t('Use field template'
),
'#type' => 'checkbox',
'#default_value' =>
$this->options
['field_api_classes'
],
'#description' =>
$this->
t('If checked, field api classes will be added by field templates. This is not recommended unless your CSS depends upon these classes. If not checked, template will not be used.'
),
'#fieldset' => 'style_settings',