By phenaproxima on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.x-1.x
Introduced in version:
8.x-1.17
Description:
Search API previously provided several theme functions to modify certain specialized parts of its administrative UI:
theme_search_api_admin_fields_tabletheme_search_api_admin_data_type_tabletheme_search_api_form_item_listtheme_search_api_servertheme_search_api_index
Because Drupal 8.9 and 9 have deprecated the concept of theme functions, these have all been converted into Twig templates that you can override in your own theme:
search-api-admin-fields-table.html.twigsearch-api-admin-data-type-table.html.twigsearch-api-form-item-list.html.twigsearch-api-server.html.twigsearch-api-index.html.twig
Most of the code that was previously in the theme functions has been moved into preprocess functions:
template_preprocess_search_api_admin_fields_tabletemplate_preprocess_search_api_admin_data_type_tabletemplate_preprocess_search_api_form_item_listtemplate_preprocess_search_api_servertemplate_preprocess_search_api_index
Impacts:
Themers