Add setting for custom path

Created on 13 April 2018, about 6 years ago
Updated 1 October 2023, 9 months ago

My facet source (View) is a block placed on a page. Since my view doesn't have a path defined, Entity Reference Facet Link doesn't direct the user anywhere -- the facet query string is just appended to the current page. It would be really handy if the formatter had an option for the admin to provide a path in its settings, and then the module constructed the URL accordingly.

✨ Feature request
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States sjancich

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States grndlvl

    Issue with duplicate arguments in creation causing:

    Message TypeError: Drupal\entity_reference_facet_link\Plugin\Field\FieldFormatter\EntityReferenceFacetFormatterBase::__construct(): Argument #10 ($module_handler) must be of type Drupal\Core\Extension\ModuleHandler, Drupal\facets\UrlProcessor\UrlProcessorPluginManager given, called in /.../modules/contrib/entity_reference_facet_link/src/Plugin/Field/FieldFormatter/EntityReferenceFacetFormatterBase.php on line 109 in Drupal\entity_reference_facet_link\Plugin\Field\FieldFormatter\EntityReferenceFacetFormatterBase->__construct() (line 85 of /app/docroot/modules/contrib/entity_reference_facet_link/src/Plugin/Field/FieldFormatter/EntityReferenceFacetFormatterBase.php)

  • πŸ‡¬πŸ‡·Greece fotisp

    Patch #12 works nice for me.
    D10 / entity_reference_facet_link 2.0.1

Production build 0.69.0 2024