X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fconfig_translation%2Fsrc%2FController%2FConfigTranslationFieldListBuilder.php;fp=web%2Fcore%2Fmodules%2Fconfig_translation%2Fsrc%2FController%2FConfigTranslationFieldListBuilder.php;h=f5b1bdd18f4b9d476f5f1741aae641458b778525;hp=566afdbb23004a96230fb241fc33ccc5966c8700;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/web/core/modules/config_translation/src/Controller/ConfigTranslationFieldListBuilder.php b/web/core/modules/config_translation/src/Controller/ConfigTranslationFieldListBuilder.php index 566afdbb2..f5b1bdd18 100644 --- a/web/core/modules/config_translation/src/Controller/ConfigTranslationFieldListBuilder.php +++ b/web/core/modules/config_translation/src/Controller/ConfigTranslationFieldListBuilder.php @@ -2,7 +2,6 @@ namespace Drupal\config_translation\Controller; -use Drupal\Component\Utility\Unicode; use Drupal\Core\Entity\EntityInterface; use Drupal\Core\Entity\EntityManagerInterface; use Drupal\Core\Entity\EntityStorageInterface; @@ -97,7 +96,7 @@ class ConfigTranslationFieldListBuilder extends ConfigTranslationEntityListBuild public function getFilterLabels() { $info = parent::getFilterLabels(); $bundle = $this->baseEntityInfo->getBundleLabel() ?: $this->t('Bundle'); - $bundle = Unicode::strtolower($bundle); + $bundle = mb_strtolower($bundle); $info['placeholder'] = $this->t('Enter field or @bundle', ['@bundle' => $bundle]); $info['description'] = $this->t('Enter a part of the field or @bundle to filter by.', ['@bundle' => $bundle]);