You are here

SolrConnector.php in Search API Solr 4.x

File

src/Annotation/SolrConnector.php
View source
<?php

namespace Drupal\search_api_solr\Annotation;

use Drupal\Component\Annotation\Plugin;

/**
 * Defines a connector plugin annotation object.
 *
 * Condition plugins provide generalized conditions for use in other
 * operations, such as conditional block placement.
 *
 * Plugin Namespace: Plugin\SolrConnector
 *
 * @see \Drupal\search_api_solr\SolrConnector\SolrConnectorManager
 * @see \Drupal\search_api_solr\SolrConnector\SolrConnectorInterface
 * @see \Drupal\search_api_solr\SolrConnector\SolrConnectorPluginBase
 *
 * @ingroup plugin_api
 *
 * @Annotation
 */
class SolrConnector extends Plugin {

  /**
   * The Solr connector plugin ID.
   *
   * @var string
   */
  public $id;

  /**
   * The human-readable name of the Solr connector.
   *
   * @var \Drupal\Core\Annotation\Translation
   *
   * @ingroup plugin_translatable
   */
  public $label;

  /**
   * The backend description.
   *
   * @var \Drupal\Core\Annotation\Translation
   *
   * @ingroup plugin_translatable
   */
  public $description;

}

Classes

Namesort descending Description
SolrConnector Defines a connector plugin annotation object.