public function Field::setDependencies in Search API 8
Sets the field's dependencies.
Parameters
string[][] $dependencies: The field's dependencies.
Return value
$this
Overrides FieldInterface::setDependencies
File
- src/
Item/ Field.php, line 660
Class
- Field
- Represents a field on a search item that can be indexed.
Namespace
Drupal\search_api\ItemCode
public function setDependencies(array $dependencies) {
$this->dependencies = $dependencies;
return $this;
}