class SolrConnector in Search API Solr 8
Same name and namespace in other branches
- 8.3 src/Annotation/SolrConnector.php \Drupal\search_api_solr\Annotation\SolrConnector
- 8.2 src/Annotation/SolrConnector.php \Drupal\search_api_solr\Annotation\SolrConnector
- 4.x src/Annotation/SolrConnector.php \Drupal\search_api_solr\Annotation\SolrConnector
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
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\search_api_solr\Annotation\SolrConnector
Expanded class hierarchy of SolrConnector
See also
\Drupal\search_api_solr\SolrConnector\SolrConnectorManager
\Drupal\search_api_solr\SolrConnector\SolrConnectorInterface
\Drupal\search_api_solr\SolrConnector\SolrConnectorPluginBase
2 classes are annotated with SolrConnector
- BasicAuthSolrConnector in src/
Plugin/ SolrConnector/ BasicAuthSolrConnector.php - Standard Solr connector.
- StandardSolrConnector in src/
Plugin/ SolrConnector/ StandardSolrConnector.php - Standard Solr connector.
File
- src/
Annotation/ SolrConnector.php, line 23
Namespace
Drupal\search_api_solr\AnnotationView source
class SolrConnector extends Plugin {
/**
* The Solr connector plugin ID.
*
* @var string
*/
public $id;
/**
* The human-readable name of the Solr connector.
*
* @ingroup plugin_translatable
*
* @var \Drupal\Core\Annotation\Translation
*/
public $label;
/**
* The backend description.
*
* @ingroup plugin_translatable
*
* @var \Drupal\Core\Annotation\Translation
*/
public $description;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Plugin:: |
protected | property | The plugin definition read from the class annotation. | 1 |
Plugin:: |
public | function |
Gets the value of an annotation. Overrides AnnotationInterface:: |
5 |
Plugin:: |
public | function |
Gets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the unique ID for this annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
protected | function | Parses an annotation into its definition. | |
Plugin:: |
public | function |
Sets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Sets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function | Constructs a Plugin object. | 2 |
SolrConnector:: |
public | property | The backend description. | |
SolrConnector:: |
public | property | The Solr connector plugin ID. | |
SolrConnector:: |
public | property | The human-readable name of the Solr connector. |