You are here

public function BackendSpecificInterface::supportsDataType in Search API 8

Determines whether the backend supports a given add-on data type.

Parameters

string $type: The identifier of the add-on data type.

Return value

bool TRUE if the backend supports that data type.

2 methods override BackendSpecificInterface::supportsDataType()
BackendPluginBase::supportsDataType in src/Backend/BackendPluginBase.php
Determines whether the backend supports a given add-on data type.
Server::supportsDataType in src/Entity/Server.php
Determines whether the backend supports a given add-on data type.

File

src/Backend/BackendSpecificInterface.php, line 76

Class

BackendSpecificInterface
Defines methods common to search servers and backend plugins.

Namespace

Drupal\search_api\Backend

Code

public function supportsDataType($type);