You are here

public function DataTypeInterface::isDefault in Search API 8

Determines whether this data type is a default data type.

Default data types are provided by the Search API module itself and have to be supported by all backends. They therefore are the only ones that can be used as a fallback for other data types, and don't need to have a fallback type themselves.

Return value

bool TRUE if the data type is a default type, FALSE otherwise.

1 method overrides DataTypeInterface::isDefault()
DataTypePluginBase::isDefault in src/DataType/DataTypePluginBase.php
Determines whether this data type is a default data type.

File

src/DataType/DataTypeInterface.php, line 63

Class

DataTypeInterface
Defines an interface for data type plugins.

Namespace

Drupal\search_api\DataType

Code

public function isDefault();