Facet link giving error when added as a reference field in layout builder

Created on 4 July 2024, about 1 year ago
Updated 18 September 2024, 10 months ago

Hi team,

I am using Entity reference facet link as reference field in layout builder for one of my content type.
It was working fine with Drupal 9 post Drupal 10. I am unable to use the facet link reference field and getting this error.

Drupal\entity_reference_facet_link\Plugin\Field\FieldFormatter\EntityReferenceFacetFormatterBase::__construct(): Argument #10 ($module_handler) must be of type Drupal\Core\Extension\ModuleHandler, Drupal\hook_event_dispatcher\HookEventDispatcherModuleHandler given, called in /modules/contrib/entity_reference_facet_link/src/Plugin/Field/FieldFormatter/EntityReferenceFacetFormatterBase.php on line 110 in Drupal\entity_reference_facet_link\Plugin\Field\FieldFormatter\EntityReferenceFacetFormatterBase->__construct() (line 87 of modules/contrib/entity_reference_facet_link/src/Plugin/Field/FieldFormatter/EntityReferenceFacetFormatterBase.php).

Regards
Divya

💬 Support request
Status

Closed: works as designed

Version

2.0

Component

Code

Created by

🇮🇳India divya.lakshman

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

Comments & Activities

Production build 0.71.5 2024