public static Tags::explode($tags)
Explodes a string of tags into an array.
Parameters
string $tags: A string to explode.
Return value
array An array of tags.
File
core/lib/Drupal/Component/Utility/Tags.php, line 21
Class
Tags Defines a class that can explode and implode tags.
Namespace
Drupal\Component\Utility
Code
public static function explode($tags) {
// This regexp allows the following types of user input:
// this, "somecompany, llc", "and ""this"" w,o.rks", foo bar
$regex