Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / lib / Drupal / Core / TypedData / Plugin / DataType / Map.php
index a95c14b30e3b06d27ac68397f29cb3faeeb20b82..aee25bc00db132c7930a72bb8897d480114604bd 100644 (file)
@@ -100,7 +100,7 @@ class Map extends TypedData implements \IteratorAggregate, ComplexDataInterface
       $strings[] = $property->getString();
     }
     // Remove any empty strings resulting from empty items.
-    return implode(', ', array_filter($strings, '\Drupal\Component\Utility\Unicode::strlen'));
+    return implode(', ', array_filter($strings, 'mb_strlen'));
   }
 
   /**