Sunshine Admin Bundle
  • Sunshine Admin Bundle
  • Setup
  • Theme Configuration
  • YAML Entity configuration
  • YAML Entity List Sort
  • Menu Configuration
  • Field type and overrides
  • Entity Relations
  • Filtering : Default values
  • Filtering : Options multiple
  • Filtering : Custom values in Select2 lists
  • Roles & Permissions
  • Creating a page
  • Widgets
  • Generic Widgets : LIST
  • Tuto - 1/x - Create SF4 Project
Powered by GitBook
On this page

YAML Entity List Sort

The configuration of the entity list order can be done using an YAML file. This file should be imported into your application configuration.

This is a configuration file sorting on ID attribute :

tellaw_sunshine_admin:
    entities:
        partner :
            list:
                fields:
                    id :
                        label: Identifiant
                        order: asc

Option

Description

Required

Possible values

order

Order direction

No

asc | desc

The order attribute can only be applied to ONE field.

PreviousYAML Entity configurationNextMenu Configuration

Last updated 7 years ago