getFieldSets example

'header' => $field->getLabel(),
            ];
        }

        return $fields;
    }

    public function buildFieldSets(Type $type): array
    {
        $sets = [];

        foreach ($type->getFieldSets() as $fieldSet) {
            $fields = [];

            foreach ($fieldSet->getFields() as $field) {
                $this->translateField($type$field);

                $fields[$field->getName()] = [
                    'fieldLabel' => $field->getLabel(),
                    'xtype' => $field->getType()::getExtjsField(),
                    'anchor' => '100%',
                    'translatable' => (bool) $field->isTranslatable(),
                    'supportText' => $field->getDescription(),
                    
Home | Imprint | This part of the site doesn't use cookies.