search_api-8.x-1.15/tests/search_api_test/src/Plugin/search_api/data_type/UnsupportedTestDataType.php
tests/search_api_test/src/Plugin/search_api/data_type/UnsupportedTestDataType.php
<?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'; } }