Pimcore\Model\Object\BlogArticle::getTags PHP Method

getTags() public method

Get tags - Tags
public getTags ( $language = null ) : string
return string
    public function getTags($language = null)
    {
        $data = $this->getLocalizedfields()->getLocalizedValue("tags", $language);
        $preValue = $this->preGetValue("tags");
        if ($preValue !== null && !\Pimcore::inAdmin()) {
            return $preValue;
        }
        return $data;
    }