X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Flib%2FDrupal%2FCore%2FPlugin%2FDiscovery%2FAnnotatedClassDiscovery.php;h=7e455dccc1d55a29abd1241a144ad0d1f2622ae4;hb=refs%2Fheads%2Fd864;hp=9ecbaa05375428543655d307aa94373c2aa4fd47;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/lib/Drupal/Core/Plugin/Discovery/AnnotatedClassDiscovery.php b/web/core/lib/Drupal/Core/Plugin/Discovery/AnnotatedClassDiscovery.php index 9ecbaa053..7e455dccc 100644 --- a/web/core/lib/Drupal/Core/Plugin/Discovery/AnnotatedClassDiscovery.php +++ b/web/core/lib/Drupal/Core/Plugin/Discovery/AnnotatedClassDiscovery.php @@ -4,7 +4,6 @@ namespace Drupal\Core\Plugin\Discovery; use Drupal\Component\Annotation\AnnotationInterface; use Drupal\Component\Annotation\Plugin\Discovery\AnnotatedClassDiscovery as ComponentAnnotatedClassDiscovery; -use Drupal\Component\Utility\Unicode; /** * Defines a discovery mechanism to find annotated plugins in PSR-0 namespaces. @@ -103,7 +102,7 @@ class AnnotatedClassDiscovery extends ComponentAnnotatedClassDiscovery { preg_match('|^Drupal\\\\(?[\w]+)\\\\|', $namespace, $matches); if (isset($matches['provider'])) { - return Unicode::strtolower($matches['provider']); + return mb_strtolower($matches['provider']); } return NULL;