FacetsQueryType.php in Facets 8
Namespace
Drupal\facets\AnnotationFile
src/Annotation/FacetsQueryType.phpView source
<?php
namespace Drupal\facets\Annotation;
use Drupal\Component\Annotation\Plugin;
/**
* Defines a Facets query type annotation.
*
* @see \Drupal\facets\QueryType\QueryTypePluginManager
* @see plugin_api
*
* @ingroup plugin_api
*
* @Annotation
*/
class FacetsQueryType extends Plugin {
/**
* The query type plugin id.
*
* @var string
*/
public $id;
/**
* The human-readable name of the query type plugin.
*
* @var \Drupal\Core\Annotation\Translation
*
* @ingroup plugin_translatable
*/
public $label;
/**
* Class used to retrieve derivative definitions of the facet_manager.
*
* @var string
*/
public $derivative = '';
}
Classes
Name | Description |
---|---|
FacetsQueryType | Defines a Facets query type annotation. |