You are here

public function DatasourceInterface::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.

1 method overrides DatasourceInterface::getFieldDependencies()
DatasourcePluginBase::getFieldDependencies in src/Datasource/DatasourcePluginBase.php
Retrieves any dependencies of the given fields.

File

src/Datasource/DatasourceInterface.php, line 315

Class

DatasourceInterface
Describes a source for search items.

Namespace

Drupal\search_api\Datasource

Code

public function getFieldDependencies(array $fields);