UnsupportedTestDataType.php in Search API 8
File
tests/search_api_test/src/Plugin/search_api/data_type/UnsupportedTestDataType.phpView source
<?php
namespace Drupal\search_api_test\Plugin\search_api\data_type;
use Drupal\search_api\DataType\DataTypePluginBase;
/**
* Provides a dummy data type for testing purposes.
*
* @SearchApiDataType(
* id = "search_api_test_unsupported",
* label = @Translation("Unsupported test data type"),
* description = @Translation("Unsupported dummy data type implementation")
* )
*/
class UnsupportedTestDataType extends DataTypePluginBase {
/**
* {@inheritdoc}
*/
public function getFallbackType() {
return 'string';
}
}
Classes
Name![]() |
Description |
---|---|
UnsupportedTestDataType | Provides a dummy data type for testing purposes. |