You are here

function olivero_preprocess_links__comment in Drupal 10

Same name and namespace in other branches
  1. 9 core/themes/olivero/olivero.theme \olivero_preprocess_links__comment()

Implements hook_preprocess_links__comment().

File

core/themes/olivero/olivero.theme, line 585
Functions to support theming in the Olivero theme.

Code

function olivero_preprocess_links__comment(&$variables) {
  foreach ($variables['links'] as &$link) {
    $link['link']['#options']['attributes']['class'][] = 'comment__links-link';
  }
}