Text

Use the text type for fragments of non-formatted text.

Recommended doctrine field type: text

Included in the PerformBaseBundle.

Options

label

The label to use for form labels and table headings. If no label is provided, a sensible label will be created automatically.

This option is optional.

Allowed types: string

Defaults:

  • List context: No default
  • View context: No default
  • Create context: No default
  • Edit context: No default

preview

If true, only show the first few words of the text. This is most useful in the list context.

This option is optional.

Allowed types: boolean

Defaults:

  • List context: true
  • View context: false
  • Create context: false
  • Edit context: false