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

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Erik Frèrejean created an issue. See original summary.

Erik Frèrejean’s picture

Status: Active » Needs review
FileSize
820 bytes
borisson_’s picture

Status: Needs review » Reviewed & tested by the community

Status: Reviewed & tested by the community » Needs work
borisson_’s picture

Status: Needs work » Needs review
FileSize
3.33 KB
4.13 KB

  • borisson_ committed 77379d1 on 8.x-1.x
    Issue #2939728 by borisson_, Erik Frèrejean: `WidgetPluginBase`...
borisson_’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.