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