ListBuilder/DynamicListFactory.php
public function getFieldDescriptors(Form $form, $locale)
    {
        $fieldDescriptors = [];

        foreach ($form->getFields() as $field) {
            if (in_array($field->getType(), Dynamic::$HIDDEN_TYPES)) {
                continue;
            }

            $title = '';
            $translation = $field->getTranslation($locale);

            if ($translation) {
                $title = $translation->getShortTitle() ?: $translation->getTitle();
            }

            $fieldDescriptors[$field->getKey()] = new FieldDescriptor(
                $field->getKey(),
                $title,
                false,
                true,
                '',
                '',
                '',
                false // not sortable
            );
        }

        $fieldDescriptors['created'] = new FieldDescriptor(
            'created',
            'sulu_form.created',
            false,
            true,
            'datetime'
        );

        return $fieldDescriptors;
    }
public function getFieldDescriptors(Form $form, $locale)
    {
        $fieldDescriptors = [];

        foreach ($form->getFields() as $field) {
            if (in_array($field->getType(), Dynamic::$HIDDEN_TYPES)) {
                continue;
            }

            $title = '';
            $translation = $field->getTranslation($locale);

            if ($translation) {
                $title = $translation->getShortTitle() ?: $translation->getTitle();
            }

            $fieldDescriptors[$field->getKey()] = new FieldDescriptor(
                $field->getKey(),
                $title,
                false,
                true,
                '',
                '',
                '',
                false // not sortable
            );
        }

        $fieldDescriptors['created'] = new FieldDescriptor(
            'created',
            'sulu_form.created',
            false,
            true,
            'datetime'
        );

        return $fieldDescriptors;
    }
{@inheritdoc}