public function getHeraldFieldValueType($condition) { if ($this->getHeraldFieldStandardType()) { return parent::getHeraldFieldValueType($condition); } return $this->getCustomField()->getHeraldFieldValueType($condition); }