protected function ContentEntity::getConfigValue in Search API 8
Retrieves the config value for a certain key in the Search API settings.
Parameters
string $key: The key whose value should be retrieved.
Return value
mixed The config value for the given key.
1 call to ContentEntity::getConfigValue()
- ContentEntity::getPartialItemIds in src/
Plugin/ search_api/ datasource/ ContentEntity.php
File
- src/
Plugin/ search_api/ datasource/ ContentEntity.php, line 356
Class
- ContentEntity
- Represents a datasource which exposes the content entities.
Namespace
Drupal\search_api\Plugin\search_api\datasourceCode
protected function getConfigValue($key) {
return $this
->getConfigFactory()
->get('search_api.settings')
->get($key);
}