Skip to content

Commit b608e9f

Browse files
author
Aitor Brazaola
committed
Started with custom list filter docs
1 parent 7edc134 commit b608e9f

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

docs/custom_list_filter.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,12 @@
11
# Creating a custom list filter
2+
3+
A list filter is an implementation that defines how an a filter input has to be rendered. This works together with the
4+
`AdminRepository` that receives the submitted form that was built using list filter types.
5+
6+
1. Create a new class implementing `LIN3S\AdminBundle\Configuration\Type\ListFilterType`
7+
1. Add the class to Dependency Container with `lin3s_admin.list_filter_type` tag name and the desired alias.
8+
1. Reference the created service with the alias in the property `type` of list > filters > field_name of your `admin.yml`
9+
10+
## Render function
11+
12+
>TODO

0 commit comments

Comments
 (0)