/** * Get all valid fieldtypes * * @return string[] the field type identifiers for all valid fields for the current MetaModel. */ public function fieldTypesCallback($objDC) { $objMetaModel = MetaModelFactory::byId($objDC->getCurrentModel()->getProperty('pid')); return MetaModelAttributeFactory::getAttributeTypes($objMetaModel->isTranslated(), $objMetaModel->hasVariants()); }