diff -u b/core/modules/system/lib/Drupal/system/Tests/Common/AttributesUnitTest.php b/core/modules/system/lib/Drupal/system/Tests/Common/AttributesUnitTest.php --- b/core/modules/system/lib/Drupal/system/Tests/Common/AttributesUnitTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/Common/AttributesUnitTest.php @@ -48,8 +48,7 @@ // Verify empty attributes array is rendered. $this->assertIdentical((string) new Attribute(array()), '', 'Empty attributes array.'); - $attributes = array('key1' => 'value1'); - $attribute = new Attribute($attributes); + $attribute = new Attribute(array('key1' => 'value1')); foreach($attribute as $value) { $this->assertIdentical((string) $value, 'value1', 'Iterate over attribute.'); } reverted: --- b/core/modules/views/views.theme.inc +++ a/core/modules/views/views.theme.inc @@ -654,7 +654,7 @@ $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 @@ -777,7 +777,7 @@ } $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 reverted: --- b/core/modules/views_ui/views_ui.theme.inc +++ a/core/modules/views_ui/views_ui.theme.inc @@ -29,7 +29,7 @@ } 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 @@ } if (!empty($element['#overridden'])) { $variables['attributes']['class'][] = 'overridden'; + $variables['attributes_array']['title'][] = t('Overridden'); - $variables['attributes']['title'] = t('Overridden'); } $variables['content'] = $element['#children'];