Install
Works with Drupal: ^10 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
# Ultimate list builder
Allows to speed up the creation of a ListBuilder for an Entity and ConfigEntity.
It also makes it possible to speed up the implementation of custom fields and filters.
To connect this list-builder, you can replace list_builder on your entity by `ULBEntityListBuilder::class` and `ULBConfigEntityListBuilder::class` for config entity.
### Creating header element
For create new Header element you can create service with tag "ultimate_list_builder.build_header" and add Attribute `BuildHeader::class` (`BuildConfigHeader::class` for ConfigEntityType)
### Set the value for element
You can create service with tag "ultimate_list_builder.build_row" and add Attirubte `BuildRow::class` (`BuildConfigRow::class` for ConfigEntityType)
Warning: for optimization: if you return FALSE when rendering the field, this class will no longer be executed during the current generation
You can also check `src/UltimateListBuilder/*` for check it.
### Default sort
You can specify the default sort order using the `DefaultSort::class` attribute added to the entity
### Events
For now, you can check out `ULBEvents::class` to view the available events
## Form
Provide functionality for creating filters show and hide specific fields.
### Custom form element.
To create a new field in the filter, you can use `BuildFilter::class` and the service tag `ultimate_list_builder.build_filter` (`BuildConfigFilter::class` for ConfigEntityType)
## Form select2
Provide functionality to use select2 library for select.
## Force
Allows you to force the Ultimate List Builder to run for various entities and configure the initial sorting.
Permission to use: `administer ultimate_list_builder_force form`