Explodes a series of tags.
File
- drupal/core/tests/Drupal/Tests/Core/Common/TagsTest.php, line 36
- Contains \Drupal\Tests\Core\Common\TagsTest.
Class
- TagsTest
- Tests Tags::explodeTags and Tags::implodeTags().
Namespace
Drupal\Tests\Core\Common
Code
public function explodeTags() {
$string = implode(', ', array_keys($this->validTags));
$tags = Tags::explode($string);
$this
->assertTags($tags);
}