You are here

public function FieldInterface::getDataTypePlugin in Search API 8

Retrieves the Search API data type plugin for this field's type.

Return value

\Drupal\search_api\DataType\DataTypeInterface|null The data type plugin, or NULL if the type is unknown.

1 method overrides FieldInterface::getDataTypePlugin()
Field::getDataTypePlugin in src/Item/Field.php
Retrieves the Search API data type plugin for this field's type.

File

src/Item/FieldInterface.php, line 262

Class

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

Namespace

Drupal\search_api\Item

Code

public function getDataTypePlugin();