You are here

function search_api_solr_update_helper_get_field_type_configs in Search API Solr 4.x

Same name and namespace in other branches
  1. 8.3 search_api_solr.install \search_api_solr_update_helper_get_field_type_configs()
  2. 8.2 search_api_solr.install \search_api_solr_update_helper_get_field_type_configs()

Gets all solr field type configs.

Return value

array All solr field type configs.

26 calls to search_api_solr_update_helper_get_field_type_configs()
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 355
Install, update and uninstall functions for the Search API Solr module.

Code

function search_api_solr_update_helper_get_field_type_configs() {
  $config_factory = \Drupal::configFactory();
  $field_type_configs = [];
  foreach ($config_factory
    ->listAll('search_api_solr.solr_field_type.') as $field_type_name) {
    $field_type_configs[$field_type_name] = $config_factory
      ->get($field_type_name)
      ->getRawData();
  }
  return $field_type_configs;
}