You are here

SolrMultisiteField.php in Search API Solr 8.3

Same filename and directory in other branches
  1. 4.x src/Plugin/DataType/SolrMultisiteField.php

File

src/Plugin/DataType/SolrMultisiteField.php
View source
<?php

namespace Drupal\search_api_solr\Plugin\DataType;


/**
 * Defines the "Solr multisite field" data type.
 *
 * Instances of this class wrap Search API Field objects and allow to deal with
 * fields based upon the Typed Data API.
 *
 * @DataType(
 *   id = "solr_multisite_field",
 *   label = @Translation("Solr multisite field"),
 *   description = @Translation("Fields from a multisite Solr document."),
 *   definition_class = "\Drupal\search_api_solr\TypedData\SolrMultisiteFieldDefinition"
 * )
 */
class SolrMultisiteField extends SolrField {

  /**
   * Field name.
   *
   * @var string
   */
  protected static $solrField = 'solr_multisite_field';

}

Classes

Namesort descending Description
SolrMultisiteField Defines the "Solr multisite field" data type.