function olivero_theme_suggestions_user_alter

Same name in other branches
  1. 10 core/themes/olivero/olivero.theme \olivero_theme_suggestions_user_alter()
  2. 11.x core/themes/olivero/olivero.theme \olivero_theme_suggestions_user_alter()

Implements hook_theme_suggestions_HOOK_alter().

File

core/themes/olivero/olivero.theme, line 477

Code

function olivero_theme_suggestions_user_alter(&$suggestions, $variables) {
    $suggestions[] = 'user__' . $variables['elements']['#view_mode'];
}

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