Facets Form to implement base form ID

Created on 4 December 2021, almost 3 years ago
Updated 23 July 2024, 4 months ago

This would allow 3rd party to narrow form alterations to a very particular facets source form:

/**
 * Implements hook_form_FORM_ID_alter().
 */
function mymodule_form_facets_form_search_api__views_page__search__page_1_alter(array &$form, FormStateInterface $form_state) {
   ...
}

but still be able to alter all facets forms...

/**
 * Implements hook_form_BASE_FORM_ID_alter().
 */
function mymodule_form_facets_form_alter(array &$form, FormStateInterface $form_state) {
   ...
}
Feature request
Status

Needs review

Version

1.0

Component

Code

Created by

🇷🇴Romania claudiu.cristea Arad 🇷🇴

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.

Production build 0.71.5 2024