You are here

class GeocoderPreprocessor in Geocoder 8.3

Same name and namespace in other branches
  1. 8.2 modules/geocoder_field/src/Annotation/GeocoderPreprocessor.php \Drupal\geocoder_field\Annotation\GeocoderPreprocessor

Defines a geocoder preprocessor plugin annotation object.

Hierarchy

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\Annotation
View 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

Namesort descending Modifiers Type Description Overrides
GeocoderPluginBase::$id public property The plugin ID.
GeocoderPluginBase::$name public property The human-readable name of the geocoder plugin.
GeocoderPreprocessor::$fieldTypes public property The field types where this plugin applies.
GeocoderPreprocessor::$weight public property The weight of this preprocessor.
Plugin::$definition protected property The plugin definition read from the class annotation. 1
Plugin::get public function Gets the value of an annotation. Overrides AnnotationInterface::get 5
Plugin::getClass public function Gets the class of the annotated class. Overrides AnnotationInterface::getClass
Plugin::getId public function Gets the unique ID for this annotated class. Overrides AnnotationInterface::getId
Plugin::getProvider public function Gets the name of the provider of the annotated class. Overrides AnnotationInterface::getProvider
Plugin::parse protected function Parses an annotation into its definition.
Plugin::setClass public function Sets the class of the annotated class. Overrides AnnotationInterface::setClass
Plugin::setProvider public function Sets the name of the provider of the annotated class. Overrides AnnotationInterface::setProvider
Plugin::__construct public function Constructs a Plugin object. 2