get($field . 'Type'); if ($typeValue === 'TemplateManager') { return true; } return parent::checkValid($entity, $field); } }