diff --git a/core/includes/theme.inc b/core/includes/theme.inc index 3ce399b..b31b2a4 100644 --- a/core/includes/theme.inc +++ b/core/includes/theme.inc @@ -845,7 +845,7 @@ function drupal_find_base_themes($themes, $key, $used_keys = array()) { * created in this function are derived from ones created by * template_preprocess(), but potentially altered by the other preprocess * functions listed above. For example, any preprocess function can add to or - * modify the $variables['attributes_array'] variable, and after all of them + * modify the $variables['#attributes'] variable, and after all of them * have finished executing, template_process() flattens it into a * $variables['attributes'] string for convenient use by templates. * - template_process_HOOK(&$variables): Should be implemented by the module diff --git a/core/modules/views/theme/theme.inc b/core/modules/views/theme/theme.inc index 0a45642..1c6b729 100644 --- a/core/modules/views/theme/theme.inc +++ b/core/modules/views/theme/theme.inc @@ -658,7 +658,7 @@ function template_preprocess_views_view_table(&$vars) { $vars['attributes']['class'][] = 'cols-'. count($vars['header']); if (!empty($handler->options['summary'])) { - $vars['attributes_array'] = array('summary' => $handler->options['summary']); + $vars['#attributes'] = array('summary' => $handler->options['summary']); } // If the table has headers and it should react responsively to columns hidden // with the classes represented by the constants RESPONSIVE_PRIORITY_MEDIUM @@ -780,7 +780,7 @@ function template_preprocess_views_view_grid(&$vars) { } $vars['rows'] = $rows; if (!empty($handler->options['summary'])) { - $vars['attributes_array'] = array('summary' => $handler->options['summary']); + $vars['#attributes'] = array('summary' => $handler->options['summary']); } // If the table has headers and it should react responsively to columns hidden // with the classes represented by the constants RESPONSIVE_PRIORITY_MEDIUM diff --git a/core/modules/views/views_ui/theme/theme.inc b/core/modules/views/views_ui/theme/theme.inc index 530aec5..8072f32 100644 --- a/core/modules/views/views_ui/theme/theme.inc +++ b/core/modules/views/views_ui/theme/theme.inc @@ -29,7 +29,7 @@ function template_preprocess_views_ui_display_tab_setting(&$variables) { } if (!empty($variables['overridden'])) { $variables['attributes']['class'][] = 'overridden'; - $variables['attributes_array']['title'][] = t('Overridden'); + $variables['#attributes']['title'][] = t('Overridden'); } // Append a colon to the description, if requested. @@ -46,7 +46,7 @@ function template_preprocess_views_ui_display_tab_bucket(&$variables) { } if (!empty($element['#overridden'])) { $variables['attributes']['class'][] = 'overridden'; - $variables['attributes_array']['title'][] = t('Overridden'); + $variables['#attributes']['title'][] = t('Overridden'); } $variables['content'] = $element['#children'];