function search_api_solr_update_helper_save_field_type_config in Search API Solr 8.2
Same name and namespace in other branches
- 8.3 search_api_solr.install \search_api_solr_update_helper_save_field_type_config()
- 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:
4 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_8214 in ./
search_api_solr.install - All pre-configured Solr field type configurations will be re-installed as delivered by the module! Please export your existing config before running the update and compare the changes manually, if you modified these configs by yourself!
File
- ./
search_api_solr.install, line 233
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);
}