You are here

GeocoderPreprocessor.php in Geocoder 8.2

Same filename and directory in other branches
  1. 8.3 modules/geocoder_field/src/Annotation/GeocoderPreprocessor.php

File

modules/geocoder_field/src/Annotation/GeocoderPreprocessor.php
View source
<?php

namespace Drupal\geocoder_field\Annotation;

use Drupal\geocoder\Annotation\GeocoderPluginBase;

/**
 * Defines a geocoder preprocessor plugin annotation object.
 *
 * @Annotation
 */
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;

}

Classes

Namesort descending Description
GeocoderPreprocessor Defines a geocoder preprocessor plugin annotation object.