class Geocoder in Geolocation Field 8
Same name and namespace in other branches
- 8.3 src/Annotation/Geocoder.php \Drupal\geolocation\Annotation\Geocoder
- 8.2 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 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 src/
Plugin/ geolocation/ Geocoder/ GoogleGeocodingAPI.php - Provides the Google Geocoding API.
- GooglePlacesAPI in modules/
geolocation_google_places_api/ src/ Plugin/ geolocation/ Geocoder/ GooglePlacesAPI.php - Provides the Google Places API.
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;
/**
* The name of the geocoder.
*
* @var bool
*/
public $locationCapable;
/**
* The name of the geocoder.
*
* @var bool
*/
public $boundaryCapable;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Geocoder:: |
public | property | The name of the geocoder. | |
Geocoder:: |
public | property | The description of the geocoder. | |
Geocoder:: |
public | property | The plugin ID. | |
Geocoder:: |
public | property | The name of the geocoder. | |
Geocoder:: |
public | property | The name of the geocoder. | |
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 |