Rather than passing BlockManager to the container, a setter is being used in the create static method. I'd like to move the service loader into the BlockFieldWidget::create() return and extend BlockFieldWidget::__construct() to properly attach the service.

Patch will be added shortly.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

michaellander created an issue. See original summary.

michaellander’s picture

Issue summary: View changes
michaellander’s picture

Title: Correct how BlockFieldManager is set on BlockFieldWidget and remove unnecessary setter » Correct how BlockManager is set on BlockFieldWidget and remove unnecessary setter
Status: Active » Needs review
FileSize
1.86 KB
michaellander’s picture

  • michaellander committed 0de6dfb on 8.x-1.x
    Issue #3045101 by michaellander: Correct how BlockManager is set on...
michaellander’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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