You are here

FacetsQueryType.php in Facets 8

File

src/Annotation/FacetsQueryType.php
View 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

Namesort descending Description
FacetsQueryType Defines a Facets query type annotation.