YAML Entity configuration

Configuration

tellaw_sunshine_admin_entities:
  project :                                     // Name of the Entity
       
       configuration:                           // Global description of the entity
           id: id
           class: AppBundle\Entity\Project
           ROLES:
             - ROLE_DEV

       attributes:                              // Attribute description (global)
           name:                                // Name of the property to handle
              label: attribute-label
              type: string
              sortable : true

       form:                                    // Description of the form view
           name:                                // Name of the property to handle
               label: form-label
               placeholder: xxx
               readOnly: false

       list:                                    // Description of the list view
           id:
              label: Identifier
              order: desc
           name:                               // Name of the property to handle
              label: list-label

       filters:                                 // Description of the filters
           name:                               // Name of the property to handle
              label: filter-label

       search:                                  // Description of the search methods
           name:                               // Name of the property to handle
              label: search-label

Configuration Section

This is the global declaration of the entity for the Sunshine Bundle.

Attributes Section

This section describes each attributes with its defaults values. This makes easy to write only once most of configuration attributes.

Form Section

List Section

Please, for sorting, refer to documentation : YAML : Entity List Sort

Filters Section

Search Section

Last updated