function olivero_preprocess_links__comment
Same name in other branches
- 10 core/themes/olivero/olivero.theme \olivero_preprocess_links__comment()
- 11.x core/themes/olivero/olivero.theme \olivero_preprocess_links__comment()
Implements hook_preprocess_links__comment().
File
-
core/
themes/ olivero/ olivero.theme, line 579
Code
function olivero_preprocess_links__comment(&$variables) {
foreach ($variables['links'] as &$link) {
$link['link']['#options']['attributes']['class'][] = 'comment__links-link';
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.