public function TagsTest::explodeTags in Drupal 9
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/Common/TagsTest.php \Drupal\Tests\Core\Common\TagsTest::explodeTags()
Explodes a series of tags.
File
- core/
tests/ Drupal/ Tests/ Core/ Common/ TagsTest.php, line 25
Class
- TagsTest
- Tests explosion and implosion of autocomplete tags.
Namespace
Drupal\Tests\Core\CommonCode
public function explodeTags() {
$string = implode(', ', array_keys($this->validTags));
$tags = Tags::explode($string);
$this
->assertTags($tags);
}