Issue #2938360 by markconroy: Change hook_preprocess_block to use $variables instead of $vars
parent
957ff36728
commit
222377929b
|
@ -42,8 +42,8 @@ function umami_preprocess_field(&$variables, $hook) {
|
|||
/**
|
||||
* Implements hook_preprocess_block().
|
||||
*/
|
||||
function umami_preprocess_block(&$vars) {
|
||||
$vars['title_attributes']['class'][] = 'block__title';
|
||||
function umami_preprocess_block(&$variables) {
|
||||
$variables['title_attributes']['class'][] = 'block__title';
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue