/**
* Method to get the field input for a list of content types.
*
* @return string The field input.
*
* @since 3.1
*/
protected function getInput()
{
if (!\is_array($this->value)) {
if (\is_object($this->value)) {
$this->value = $this->value->tags;
}
if (\is_string($this->value)) {
$this->value = explode(',', $this->value);
}
}
return parent::getInput();
}