diff --git a/core/lib/Drupal/Core/Render/Element/SystemCompactLink.php b/core/lib/Drupal/Core/Render/Element/SystemCompactLink.php index bd8d73e..501dc4b 100644 --- a/core/lib/Drupal/Core/Render/Element/SystemCompactLink.php +++ b/core/lib/Drupal/Core/Render/Element/SystemCompactLink.php @@ -59,7 +59,7 @@ public static function preRenderCompactLink($element) { $element['#title'] = t('Show descriptions'); $element['#href'] = 'admin/compact/off'; $element['#options'] = array( - 'title' => t('Expand layout to include descriptions.'), + 'attributes' => array('title' => t('Expand layout to include descriptions.')), 'query' => drupal_get_destination(), ); } @@ -67,7 +67,7 @@ public static function preRenderCompactLink($element) { $element['#title'] = t('Hide descriptions'); $element['#href'] = 'admin/compact/on'; $element['#options'] = array( - 'title' => t('Compress layout by hiding descriptions.'), + 'attributes' => array('title' => t('Compress layout by hiding descriptions.')), 'query' => drupal_get_destination(), ); }