BEF 7.0 compatible

Created on 29 May 2024, 10 months ago

Problem/Motivation

Hello, a new version of Better Exposed Filters has been released that removes jQuery and adds type hints. The current plugin is not compatible with the new version. Error:
Fatal error: Declaration of Drupal\select2\Plugin\better_exposed_filters\filter\Select2::defaultConfiguration() must be compatible with Drupal\better_exposed_filters\Plugin\better_exposed_filters\filter\FilterWidgetBase::defaultConfiguration(): array in /var/www/web/modules/contrib/select2/src/Plugin/better_exposed_filters/filter/Select2.php on line 21

Steps to reproduce

Proposed resolution

Add type hints to the BEF Select2 plugin methods.

Remaining tasks

None.

User interface changes

None.

API changes

None.

Data model changes

None.

Feature request
Status

Active

Version

1.0

Component

Views integration

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024