public function BackendPluginBase::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.
Overrides BackendSpecificInterface::supportsDataType
1 method overrides BackendPluginBase::supportsDataType()
- TestBackend::supportsDataType in tests/
search_api_test/ src/ Plugin/ search_api/ backend/ TestBackend.php - Determines whether the backend supports a given add-on data type.
File
- src/
Backend/ BackendPluginBase.php, line 198
Class
- BackendPluginBase
- Defines a base class for backend plugins.
Namespace
Drupal\search_api\BackendCode
public function supportsDataType($type) {
return FALSE;
}