diff core/modules/update/update.report.inc @ 4:a9cd425dd02b

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:11:55 +0000
parents c75dbcec494b
children 12f9dff5fda9
line wrap: on
line diff
--- a/core/modules/update/update.report.inc	Thu Feb 28 11:14:44 2019 +0000
+++ b/core/modules/update/update.report.inc	Thu Feb 28 13:11:55 2019 +0000
@@ -5,7 +5,6 @@
  * Code required only when rendering the available updates report.
  */
 
-use Drupal\Component\Utility\Unicode;
 use Drupal\Core\Template\Attribute;
 use Drupal\Core\Url;
 
@@ -31,7 +30,7 @@
       'library' => [
         'update/drupal.update.admin',
       ],
-    ]
+    ],
   ];
 
   // For no project update data, populate no data message.
@@ -54,7 +53,7 @@
         '#attributes' => ['class' => ['update']],
       ];
     }
-    $row_key = !empty($project['title']) ? Unicode::strtolower($project['title']) : Unicode::strtolower($project['name']);
+    $row_key = !empty($project['title']) ? mb_strtolower($project['title']) : mb_strtolower($project['name']);
 
     // Add the project status row and details.
     $rows[$project['project_type']][$row_key]['status'] = $project_status;
@@ -231,7 +230,7 @@
       $extra_item['data'] = [
         '#prefix' => '<em>',
         '#markup' => $value['data'],
-        '#suffix' => '</em>'
+        '#suffix' => '</em>',
       ];
       $variables['extras'][] = $extra_item;
     }