You are here

public function FieldInterface::getDatasourceId in Search API 8

Retrieves the ID of this field's datasource.

Return value

string|null The plugin ID of this field's datasource, or NULL if the field is datasource-independent.

1 method overrides FieldInterface::getDatasourceId()
Field::getDatasourceId in src/Item/Field.php
Retrieves the ID of this field's datasource.

File

src/Item/FieldInterface.php, line 96

Class

FieldInterface
Represents a field on a search item that can be indexed.

Namespace

Drupal\search_api\Item

Code

public function getDatasourceId();