class GeocoderPreprocessor in Geocoder 8.3
Same name and namespace in other branches
- 8.2 modules/geocoder_field/src/Annotation/GeocoderPreprocessor.php \Drupal\geocoder_field\Annotation\GeocoderPreprocessor
Defines a geocoder preprocessor plugin annotation object.
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\geocoder\Annotation\GeocoderPluginBase
- class \Drupal\geocoder_field\Annotation\GeocoderPreprocessor
- class \Drupal\geocoder\Annotation\GeocoderPluginBase
Expanded class hierarchy of GeocoderPreprocessor
1 file declares its use of GeocoderPreprocessor
- PreprocessorPluginManager.php in modules/
geocoder_field/ src/ PreprocessorPluginManager.php
4 classes are annotated with GeocoderPreprocessor
- Address in modules/
geocoder_address/ src/ Plugin/ Geocoder/ Preprocessor/ Address.php - Provides a geocoder preprocessor plugin for address fields.
- File in modules/
geocoder_field/ src/ Plugin/ Geocoder/ Preprocessor/ File.php - Provides a geocoder preprocessor plugin for file fields.
- Geofield in modules/
geocoder_geofield/ src/ Plugin/ Geocoder/ Preprocessor/ Geofield.php - Provides a geocoder preprocessor plugin for geofield fields.
- Text in modules/
geocoder_field/ src/ Plugin/ Geocoder/ Preprocessor/ Text.php - Provides a geocoder preprocessor plugin for text fields.
File
- modules/
geocoder_field/ src/ Annotation/ GeocoderPreprocessor.php, line 12
Namespace
Drupal\geocoder_field\AnnotationView source
class GeocoderPreprocessor extends GeocoderPluginBase {
/**
* The field types where this plugin applies.
*
* @var array
*/
public $fieldTypes;
/**
* The weight of this preprocessor.
*
* Many preprocessors are called to pre-process the same field. This value
* can determine an order in which the preprocessors are called.
*
* @var int
*/
public $weight = 0;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
GeocoderPluginBase:: |
public | property | The plugin ID. | |
GeocoderPluginBase:: |
public | property | The human-readable name of the geocoder plugin. | |
GeocoderPreprocessor:: |
public | property | The field types where this plugin applies. | |
GeocoderPreprocessor:: |
public | property | The weight of this preprocessor. | |
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 |