function olivero_form_node_preview_form_select_alter
Same name and namespace in other branches
- 9 core/themes/olivero/olivero.theme \olivero_form_node_preview_form_select_alter()
- 10 core/themes/olivero/olivero.theme \olivero_form_node_preview_form_select_alter()
Implements hook_form_FORM_ID_alter().
File
-
core/
themes/ olivero/ olivero.theme, line 506
Code
function olivero_form_node_preview_form_select_alter(&$form, FormStateInterface $form_state, $form_id) {
$form['backlink']['#options']['attributes']['class'][] = 'button';
$form['backlink']['#options']['attributes']['class'][] = 'button--small';
$form['backlink']['#options']['attributes']['class'][] = 'button--icon-back';
$form['backlink']['#options']['attributes']['class'][] = 'button--primary';
$form['view_mode']['#attributes']['class'][] = 'form-element--small';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.