public function DatasourcePluginBase::getFieldDependencies in Search API 8
Retrieves any dependencies of the given fields.
Parameters
string[] $fields: An array of property paths on this datasource, keyed by field IDs.
Return value
string[][][] An associative array containing the dependencies of the given fields. The array is keyed by field ID and dependency type, the values are arrays with dependency names.
Overrides DatasourceInterface::getFieldDependencies
1 method overrides DatasourcePluginBase::getFieldDependencies()
- ContentEntity::getFieldDependencies in src/
Plugin/ search_api/ datasource/ ContentEntity.php - Retrieves any dependencies of the given fields.
File
- src/
Datasource/ DatasourcePluginBase.php, line 178
Class
- DatasourcePluginBase
- Defines a base class from which other datasources may extend.
Namespace
Drupal\search_api\DatasourceCode
public function getFieldDependencies(array $fields) {
return [];
}