function claro_form_node_preview_form_select_alter

Same name in other branches
  1. 10 core/themes/claro/claro.theme \claro_form_node_preview_form_select_alter()

Implements hook_form_FORM_ID_alter().

File

core/themes/claro/claro.theme, line 1860

Code

function claro_form_node_preview_form_select_alter(array &$form, FormStateInterface $form_state) {
    if (isset($form['backlink'])) {
        $form['backlink']['#options']['attributes']['class'][] = 'action-link';
        $form['backlink']['#options']['attributes']['class'][] = 'action-link--icon-chevron-left';
    }
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.