All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Fix Drupal deprecations
- Drupal 10 support
- Validate access on each submitted entity for bulk action
- Fix PHP 8.1 warnings
- Fix weight not persisting when using DraggableOverviewBuilderBase
- Fix bulk action & filter forms not working if the current url has a destination query parameter. This is a workaround for the #2950883 core issue.
- Fix buildDateTimeColumn not formatting using the right timezone
- Add EntityOverviewController to the container
- Fix #weight being lost when using bulk actions
- Fix overview title not showing
- Allow disabling the filter form by returning an empty array in
buildFilterForm
- Fix argument in hook docs
- Add
buildDateTimeColumn
helper - Add entity access check to query
- Add abstract base class for actions with batch processing
- Add documentation for hooks in wmentity_overview.api.php
- Update module name & description
- Improve checkbox filter theming
- Add bulk actions
- Add helper traits for easier column building
- Add a way to show a tooltip while hovering over a column
- Add support for adding classes to header columns, eg. responsive table classes.
- Add PHPStan
- Added two new public methods to
OverviewBuilderInterface
andOverviewBuilderBase
:getRowKeyByEntity
andgetEntityByRowKey
.
- Add default, theme-agnostic styling for filter form
- Fix broken query when entity type has no data table
- Fix broken query when entity type has no data table
- Add option to specify sort field
- Add column factory method & fluent setters
- Fix clearing filters with falsy values
- Add a method to process the filter value before storing
- Fix issue where site install fails because an entity type referenced in an OverviewBuilder annotation is not yet installed
- Allow multiple translations of the same entity in the same table
- Fix header order of draggable overviews
- Make sure routes are only overridden with overviews without filters
- Make sure destination is not used as filter key
- Fix FilterStorageBase::getIterator not returning an iterator
- Rename ColumnInterface getSortDirection to getDefaultSortDirection and change the default value to null, so it is actually possible to select a default column for sorting
- Add entity overview alternatives hook & event
- Add getAlternatives method to OverviewBuilderManager
- Fix issue where hook is not called, only event
- Remove PHP 7.3 syntax
- Fix buildHeader method when used in context of entity queries
Initial release