Filter
Opens an additional view that contains all available filters of a table.
Filters must be added under my_entity_table
. By default, this action is only available for the index window which is represented by the my_entity_index
route. How to create or add custom filters is described here <add_custom_filter>
in more detail.
yaml
app_entity_index:
options:
expose: true
path: /app/entity/index
methods: [GET]
defaults:
_controller: app.controller.entity:indexAction
_sylius:
viewer:
actions:
filter:
type: filter
app_entity_table:
options:
expose: true
path: /app/entity/table
methods: [GET,POST]
defaults:
_controller: app.controller.entity:tableAction
_sylius:
filters:
my_filter:
type: property_type
property: property