Explodes a series of tags.
File
- drupal/core/modules/system/lib/Drupal/system/Tests/Common/AutocompleteTagsUnitTest.php, line 34
- Definition of Drupal\system\Tests\Common\AutocompleteTagsUnitTest.
Class
- AutocompleteTagsUnitTest
- Tests drupal_explode_tags() and drupal_implode_tags().
Namespace
Drupal\system\Tests\Common
Code
function testDrupalExplodeTags() {
$string = implode(', ', array_keys($this->validTags));
$tags = drupal_explode_tags($string);
$this
->assertTags($tags);
}