YAML Entity configuration
Configuration
Configuration Section
This is the global declaration of the entity for the Sunshine Bundle.
Item
Description
Required
id
Identifier of the entity
Yes
class
Class path of the Entity
Yes
ROLES
list of Roles which may have full access to the entity
No
Attributes Section
This section describes each attributes with its defaults values. This makes easy to write only once most of configuration attributes.
Item
Description
Required
label
Default label used for the different views
No
type
Type of data (String / integer / Object / Email / HTML )...
No
sortable
true / false : enable the sorting
No
Form Section
Item
Description
Required
label
Default label used for the different views
No
type
Type of data (String / integer / Object / Email / HTML )...
No
placeholder
Define a placeholder for the field.
No
readOnly
Define if a field must be in a read only status
No
List Section
Item
Description
Required
label
Default label used for the different views
No
order
Sorting order if required
No
Please, for sorting, refer to documentation : YAML : Entity List Sort
Filters Section
Item
Description
Required
label
Default label used for the different views
No
Search Section
Item
Description
Required
label
Default label used for the different views
No
Last updated