Facets Form to implement base form ID

Created on 4 December 2021, over 2 years ago
Updated 26 May 2023, about 1 year 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.69.0 2024