A simple read-only field type to display markup using a custom template.
The given entity and field name will be passed to the template as
the entity
and field
twig variables.
You must supply a template when using this type, otherwise nothing will be rendered.
Included in the PerformBaseBundle.
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:
<?php
$config->add('some_property', [
'type' => 'display',
'template' => 'field_type/some_property.html.twig',
]);