You are here

DateRangeDataType.php in Search API Solr 8.2

File

src/Plugin/search_api/data_type/DateRangeDataType.php
View source
<?php

namespace Drupal\search_api_solr\Plugin\search_api\data_type;

use Drupal\search_api\Plugin\search_api\data_type\DateDataType;

/**
 * Provides a date range data type.
 *
 * @SearchApiDataType(
 *   id = "solr_date_range",
 *   label = @Translation("Date range"),
 *   description = @Translation("Date field that contains date ranges."),
 *   fallback = "date",
 *   prefix = "dr"
 * )
 */
class DateRangeDataType extends DateDataType {

}

Classes

Namesort descending Description
DateRangeDataType Provides a date range data type.