Issue #2938360 by markconroy: Change hook_preprocess_block to use $variables instead of $vars

merge-requests/1654/head
Nathaniel Catchpole 2018-01-22 09:36:13 +00:00
parent 957ff36728
commit 222377929b
1 changed files with 2 additions and 2 deletions

View File

@ -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';
}
/**