class FacetsProcessor in Facets 8
Defines a Facets Processor annotation.
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\facets\Annotation\FacetsProcessor
Expanded class hierarchy of FacetsProcessor
See also
\Drupal\facets\Processor\ProcessorPluginManager
1 file declares its use of FacetsProcessor
- ProcessorPluginManager.php in src/
Processor/ ProcessorPluginManager.php
25 classes are annotated with FacetsProcessor
- ActiveWidgetOrderProcessor in src/
Plugin/ facets/ processor/ ActiveWidgetOrderProcessor.php - A processor that orders the results by active state.
- BooleanItemProcessor in src/
Plugin/ facets/ processor/ BooleanItemProcessor.php - Provides a processor for boolean labels.
- CountLimitProcessor in src/
Plugin/ facets/ processor/ CountLimitProcessor.php - Provides a count limit processor.
- CountWidgetOrderProcessor in src/
Plugin/ facets/ processor/ CountWidgetOrderProcessor.php - A processor that orders the results by amount.
- DateItemProcessor in src/
Plugin/ facets/ processor/ DateItemProcessor.php - Provides a processor for dates.
File
- src/
Annotation/ FacetsProcessor.php, line 17
Namespace
Drupal\facets\AnnotationView source
class FacetsProcessor extends Plugin {
/**
* The processor plugin id.
*
* @var string
*/
public $id;
/**
* The human-readable name of the processor plugin.
*
* @var \Drupal\Core\Annotation\Translation
*
* @ingroup plugin_translatable
*/
public $label;
/**
* The processor description.
*
* @var \Drupal\Core\Annotation\Translation
*
* @ingroup plugin_translatable
*/
public $description;
/**
* Class used to retrieve derivative definitions of the url processor.
*
* @var string
*/
public $derivative = '';
/**
* The stages this processor will run in, along with their default weights.
*
* This is represented as an associative array, mapping one or more of the
* stage identifiers to the default weight for that stage. For the available
* stages, see
* \Drupal\facets\Processor\ProcessorPluginManager::getProcessingStages().
*
* @var int[]
*/
public $stages;
/**
* Whether or not this processor is default enabled for new facets.
*
* @var bool
*/
// @codingStandardsIgnoreStart
public $default_enabled;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FacetsProcessor:: |
public | property | ||
FacetsProcessor:: |
public | property | Class used to retrieve derivative definitions of the url processor. | |
FacetsProcessor:: |
public | property | The processor description. | |
FacetsProcessor:: |
public | property | The processor plugin id. | |
FacetsProcessor:: |
public | property | The human-readable name of the processor plugin. | |
FacetsProcessor:: |
public | property | The stages this processor will run in, along with their default weights. | |
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 |