projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website]
/
web
/
core
/
lib
/
Drupal
/
Core
/
Plugin
/
Discovery
/
AnnotatedClassDiscovery.php
diff --git
a/web/core/lib/Drupal/Core/Plugin/Discovery/AnnotatedClassDiscovery.php
b/web/core/lib/Drupal/Core/Plugin/Discovery/AnnotatedClassDiscovery.php
index 9ecbaa05375428543655d307aa94373c2aa4fd47..7e455dccc1d55a29abd1241a144ad0d1f2622ae4 100644
(file)
--- 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\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.
/**
* Defines a discovery mechanism to find annotated plugins in PSR-0 namespaces.
@@
-103,7
+102,7
@@
class AnnotatedClassDiscovery extends ComponentAnnotatedClassDiscovery {
preg_match('|^Drupal\\\\(?<provider>[\w]+)\\\\|', $namespace, $matches);
if (isset($matches['provider'])) {
preg_match('|^Drupal\\\\(?<provider>[\w]+)\\\\|', $namespace, $matches);
if (isset($matches['provider'])) {
- return
Unicode::
strtolower($matches['provider']);
+ return
mb_
strtolower($matches['provider']);
}
return NULL;
}
return NULL;