/** * Get the element's raw label (used for details view, not wrapped in <label> tags * * @return string Label */ protected function getRawLabel() { if (!$this->getParams()->get('display_showlabel', true)) { return $this->getValue(array()); } return parent::getRawLabel(); }