function claro_preprocess_admin_block
Same name in other branches
- 9 core/themes/claro/claro.theme \claro_preprocess_admin_block()
- 10 core/themes/claro/claro.theme \claro_preprocess_admin_block()
- 11.x core/themes/claro/claro.theme \claro_preprocess_admin_block()
Implements template_preprocess_HOOK() for admin_block.
File
-
core/
themes/ claro/ claro.theme, line 194
Code
function claro_preprocess_admin_block(&$variables) {
if (!empty($variables['block']['content'])) {
$variables['block']['content']['#attributes']['class'][] = 'admin-list--panel';
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.