summaryrefslogtreecommitdiffstats
path: root/src/Plugin/search_api/data_type/BooleanDataType.php
blob: 2be11146ad31dae38355ccb432ad9c4092fded29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php

namespace Drupal\search_api\Plugin\search_api\data_type;

use Drupal\search_api\DataType\DataTypePluginBase;

/**
 * Provides a boolean data type.
 *
 * @SearchApiDataType(
 *   id = "boolean",
 *   label = @Translation("Boolean"),
 *   description = @Translation("Boolean fields can only have one of two values: true or false."),
 *   default = "true"
 * )
 */
class BooleanDataType extends DataTypePluginBase {

}