At the beginning of May 2020 the latest ERL version alpha6 was released: https://www.drupal.org/project/entity_reference_layout/releases/8.x-1.0-alpha6
The erl_restriciton module needs to be updated to be compatible with the latest ERL version. At the moment I get the following error:
TypeError: Argument 10 passed to Drupal\erl_restriction\Plugin\Field\FieldWidget\ErlRestrictionWidget::__construct() must be an instance of Drupal\Core\Language\LanguageManager, instance of Drupal\Core\Plugin\PluginFormFactory given, called in /var/www/dbd/site/web/modules/contrib/entity_reference_layout/src/Plugin/Field/FieldWidget/EntityReferenceLayoutWidget.php on line 217 in Drupal\erl_restriction\Plugin\Field\FieldWidget\ErlRestrictionWidget->__construct() (line 38 of modules/contrib/erl_restriction/src/Plugin/Field/FieldWidget/ErlRestrictionWidget.php).
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | erl_restriction-update-erl-alpha6-3150241-2.patch | 1.96 KB | inaw |
Comments
Comment #2
inaw commentedI have created a patch to make the erl_restriciton module working again with ERL alpha6.
Comment #3
waluigi commentedHi @InaW
Thanks a bunch for the patch, it fixes the error properly.
BR Nicolas
Comment #5
waluigi commented