public function ProviderInterface::geocode in Geocoder 8.3
Same name and namespace in other branches
- 8.2 src/ProviderInterface.php \Drupal\geocoder\ProviderInterface::geocode()
Geocode a source string.
Parameters
string $source: The data to be geocoded.
Return value
\Geocoder\Model\AddressCollection|\Geometry|null The address collection, or the geometry, or NULL.
1 method overrides ProviderInterface::geocode()
- ProviderBase::geocode in src/
ProviderBase.php - Geocode a source string.
File
- src/
ProviderInterface.php, line 22
Class
- ProviderInterface
- Provides an interface for geocoder provider plugins.
Namespace
Drupal\geocoderCode
public function geocode($source);