Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
The constructor of \Drupal\facets\Widget\WidgetPluginBase
incorrectly overrides \Drupal\Component\Plugin\PluginBase::__construct
and sets the internal $pluginId
and $pluginDefinition
definitions to NULL
.
This for example makes it impossible to use the plugin ID of a facet in a processor.
Proposed resolution
Add the missing parameters to the constructor and correctly override the plugin base constructor.
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#5 | 2939728-5.patch | 4.13 KB | borisson_ |
Comments
Comment #2
Erik FrèrejeanComment #3
borisson_Comment #5
borisson_Comment #7
borisson_