Feature: #81651 - Query builder object as argument in list module hook

See forge#81651

Description

A new parameter $queryBuilder has been added to $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS'][DatabaseRecordList::class]['buildQueryParameters'] hook. The QueryBuilder object can be used to modify the main list module query. The QueryBuilder instance is passed by reference, it allows any query modification.

Impact

The old $parameters array has been marked as deprecated. Existing hooks must be adjusted.