class Geocoder in Geolocation Field 8.2
Same name in this branch
- 8.2 src/Annotation/Geocoder.php \Drupal\geolocation\Annotation\Geocoder
- 8.2 src/Plugin/geolocation/LocationInput/Geocoder.php \Drupal\geolocation\Plugin\geolocation\LocationInput\Geocoder
Same name and namespace in other branches
- 8.3 src/Annotation/Geocoder.php \Drupal\geolocation\Annotation\Geocoder
- 8 src/Annotation/Geocoder.php \Drupal\geolocation\Annotation\Geocoder
Defines a geocoder annotation object.
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\geolocation\Annotation\Geocoder
Expanded class hierarchy of Geocoder
See also
\Drupal\geolocation\GeocoderManager
3 string references to 'Geocoder'
- AddressFieldProvider::getSettingsForm in modules/
geolocation_address/ src/ Plugin/ geolocation/ DataProvider/ AddressFieldProvider.php - Provide data provider settings form array.
- geolocation.location_input.schema.yml in config/
schema/ geolocation.location_input.schema.yml - config/schema/geolocation.location_input.schema.yml
- geolocation_google_maps.map_features.schema.yml in modules/
geolocation_google_maps/ config/ schema/ geolocation_google_maps.map_features.schema.yml - modules/geolocation_google_maps/config/schema/geolocation_google_maps.map_features.schema.yml
6 classes are annotated with Geocoder
- Dummy in tests/
modules/ geolocation_dummy_geocoder/ src/ Plugin/ geolocation/ Geocoder/ Dummy.php - Provides the Google Geocoding API.
- GoogleGeocodingAPI in modules/
geolocation_google_maps/ src/ Plugin/ geolocation/ Geocoder/ GoogleGeocodingAPI.php - Provides the Google Geocoding API.
- GooglePlacesAPI in modules/
geolocation_google_maps/ modules/ geolocation_google_places_api/ src/ Plugin/ geolocation/ Geocoder/ GooglePlacesAPI.php - Provides the Google Places API.
- Nominatim in modules/
geolocation_leaflet/ src/ Plugin/ geolocation/ Geocoder/ Nominatim.php - Provides the Nominatim API.
- Photon in modules/
geolocation_leaflet/ src/ Plugin/ geolocation/ Geocoder/ Photon.php - Provides the Photon.
File
- src/
Annotation/ Geocoder.php, line 15
Namespace
Drupal\geolocation\AnnotationView source
class Geocoder extends Plugin {
/**
* The plugin ID.
*
* @var string
*/
public $id;
/**
* The name of the geocoder.
*
* @var \Drupal\Core\Annotation\Translation
*
* @ingroup plugin_translatable
*/
public $name;
/**
* The description of the geocoder.
*
* @var \Drupal\Core\Annotation\Translation
*
* @ingroup plugin_translatable
*/
public $description;
/**
* Can the geocoder retrieve coordinates.
*
* @var bool
*/
public $locationCapable;
/**
* Can the geocoder retrieve boundaries.
*
* @var bool
*/
public $boundaryCapable;
/**
* Can the geocoder be used in the frontend.
*
* @var bool
*/
public $frontendCapable;
/**
* Can the geocoder perform reverse geocoding.
*
* @var bool
*/
public $reverseCapable;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Geocoder:: |
public | property | Can the geocoder retrieve boundaries. | |
Geocoder:: |
public | property | The description of the geocoder. | |
Geocoder:: |
public | property | Can the geocoder be used in the frontend. | |
Geocoder:: |
public | property | The plugin ID. | |
Geocoder:: |
public | property | Can the geocoder retrieve coordinates. | |
Geocoder:: |
public | property | The name of the geocoder. | |
Geocoder:: |
public | property | Can the geocoder perform reverse geocoding. | |
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 |