class GeoPlugin in Geocoder 7.2
Same name and namespace in other branches
- 8.3 src/Plugin/Geocoder/Provider/GeoPlugin.php \Drupal\geocoder\Plugin\Geocoder\Provider\GeoPlugin
- 8.2 src/Plugin/Geocoder/Provider/GeoPlugin.php \Drupal\geocoder\Plugin\Geocoder\Provider\GeoPlugin
Class GeoPlugin.
Plugin annotation
@GeocoderPlugin(
id = "geoplugin",
name = "GeoPlugin",
type = "Provider",
arguments = {
"@geocoder.http_adapter",
"@logger.channel.default",
"@messenger"
}
)
Hierarchy
- class \Drupal\geocoder\Plugin\GeocoderPlugin extends \Drupal\Component\Plugin\PluginBase implements GeocoderPluginInterface
- class \Drupal\geocoder\Plugin\Geocoder\Provider implements ProviderInterface
- class \Drupal\geocoder\Plugin\Geocoder\Provider\GeoPlugin implements ProviderInterface
- class \Drupal\geocoder\Plugin\Geocoder\Provider implements ProviderInterface
Expanded class hierarchy of GeoPlugin
File
- src/
Plugin/ Geocoder/ Provider/ GeoPlugin.php, line 28 - The GeoPlugin plugin.
Namespace
Drupal\geocoder\Plugin\Geocoder\ProviderView source
class GeoPlugin extends Provider implements ProviderInterface {
/**
* @inheritdoc
*/
public function init() {
$this
->setHandler(new \Geocoder\Provider\GeoPlugin());
return parent::init();
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
GeocoderPlugin:: |
public | function |
Get a cache object based on the cache ID. Overrides GeocoderPluginInterface:: |
|
GeocoderPlugin:: |
public | function |
Stores data in the persistent cache. Overrides GeocoderPluginInterface:: |
|
GeocoderPlugin:: |
public | function |
Generates a cache ID based on the arguments. Overrides GeocoderPluginInterface:: |
|
GeocoderPlugin:: |
public | function |
Get the object's configuration. Overrides GeocoderPluginInterface:: |
|
GeocoderPlugin:: |
public | function |
Set the object's configuration. Overrides GeocoderPluginInterface:: |
|
GeoPlugin:: |
public | function |
@inheritdoc Overrides GeocoderPlugin:: |
|
Provider:: |
private | property | ||
Provider:: |
private | property | ||
Provider:: |
protected | property | The loggerChannel service. | |
Provider:: |
protected | property | The messenger service. | |
Provider:: |
public | function |
Geocode data Overrides ProviderInterface:: |
1 |
Provider:: |
public | function |
Returns the HTTP adapter. Overrides ProviderInterface:: |
|
Provider:: |
public | function |
Get the Geocoder handler. Overrides ProviderInterface:: |
|
Provider:: |
public | function |
Reverse geocode latitude and longitude. Overrides ProviderInterface:: |
1 |
Provider:: |
public | function |
The Geocoder Provider. Overrides ProviderInterface:: |
|
Provider:: |
public | function |
GeocoderPlugin constructor. Overrides GeocoderPlugin:: |