You are here

function search_api_solr_update_helper_save_field_type_config in Search API Solr 8.3

Same name and namespace in other branches
  1. 8.2 search_api_solr.install \search_api_solr_update_helper_save_field_type_config()
  2. 4.x search_api_solr.install \search_api_solr_update_helper_save_field_type_config()

Saves a modified solr field type config.

Parameters

string $field_type_name:

array $field_type_config:

bool $trusted_data:

24 calls to search_api_solr_update_helper_save_field_type_config()
search_api_solr_update_8201 in ./search_api_solr.install
Fix suggester field type.
search_api_solr_update_8202 in ./search_api_solr.install
Enable support for targeted domains for all backends and add custom codes.
search_api_solr_update_8207 in ./search_api_solr.install
Fix language undefined field types.
search_api_solr_update_8300 in ./search_api_solr.install
Migrate Solr backends to the new unified Solr backend.
search_api_solr_update_8305 in ./search_api_solr.install
Add Dutch nouns and improve stemming for Dutch language.

... See full list

File

./search_api_solr.install, line 433
Install, update and uninstall functions for the Search API Solr module.

Code

function search_api_solr_update_helper_save_field_type_config($field_type_name, array $field_type_config, $trusted_data = TRUE) {
  \Drupal::configFactory()
    ->getEditable($field_type_name)
    ->setData($field_type_config)
    ->save($trusted_data);
}