You are here

class GeocoderField in Geocoder 8.2

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

Defines a geocoder field plugin annotation object.

Hierarchy

Expanded class hierarchy of GeocoderField

1 file declares its use of GeocoderField
GeocoderFieldPluginManager.php in modules/geocoder_field/src/GeocoderFieldPluginManager.php
3 classes are annotated with GeocoderField
AddressField in modules/geocoder_address/src/Plugin/Geocoder/Field/AddressField.php
Provides a Geocoder Address field plugin.
DefaultField in modules/geocoder_field/src/Plugin/Geocoder/Field/DefaultField.php
Provides a default generic geocoder field plugin.
GeofieldField in modules/geocoder_geofield/src/Plugin/Geocoder/Field/GeofieldField.php
Provides a geofield geocoder field plugin.

File

modules/geocoder_field/src/Annotation/GeocoderField.php, line 12

Namespace

Drupal\geocoder_field\Annotation
View source
class GeocoderField extends Plugin {

  /**
   * The plugin ID.
   *
   * @var string
   */
  public $id;

  /**
   * The human-readable name of the geocoder field plugin.
   *
   * @var \Drupal\Core\Annotation\Translation
   *
   * @ingroup plugin_translatable
   */
  public $label;

  /**
   * A list of field types to be handled by this plugin.
   *
   * @var array
   */
  public $fieldTypes;

}

Members

Namesort descending Modifiers Type Description Overrides
GeocoderField::$fieldTypes public property A list of field types to be handled by this plugin.
GeocoderField::$id public property The plugin ID.
GeocoderField::$label public property The human-readable name of the geocoder field plugin.
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