translateField example



    public function buildColumns(Type $type): array
    {
        $fields = [];

        foreach ($type->getFields() as $field) {
            if (!$field->isShowListing()) {
                continue;
            }

            $this->translateField($type$field);

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

        return $fields;
    }

    public function buildFieldSets(Type $type): array
    {
        
Home | Imprint | This part of the site doesn't use cookies.