Skip to content

Commit af09dcf

Browse files
1 parent 90053d3 commit af09dcf

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/Utils/Create/VocabularyData.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
namespace Drupal\Console\Utils\Create;
99

10-
use Drupal\Component\Utility\Unicode;
1110
use Drupal\Core\Entity\EntityTypeManagerInterface;
1211
use Drupal\Core\Entity\EntityFieldManagerInterface;
1312
use Drupal\Core\Datetime\DateFormatterInterface;
@@ -40,7 +39,7 @@ public function create(
4039
[
4140
'name' => $this->getRandom()->sentences(mt_rand(1, $nameWords), true),
4241
'description' => $this->getRandom()->sentences(mt_rand(1, $nameWords)),
43-
'vid' => Unicode::strtolower($this->getRandom()->name()),
42+
'vid' => mb_strtolower($this->getRandom()->name()),
4443
'langcode' => LanguageInterface::LANGCODE_NOT_SPECIFIED,
4544
'weight' => mt_rand(0, 10),
4645
]

0 commit comments

Comments
 (0)