public function GeocoderManager::getBoundaryCapableGeocoders in Geolocation Field 8
Get boundary capable geocoder definitions.
Return value
array List of boundary capable geocoder definitions.
File
- src/
GeocoderManager.php, line 83
Class
- GeocoderManager
- Search plugin manager.
Namespace
Drupal\geolocationCode
public function getBoundaryCapableGeocoders() {
$boundary_capable_geocoders = [];
foreach ($this
->getDefinitions() as $id => $definition) {
if (!empty($definition['boundaryCapable'])) {
$boundary_capable_geocoders[$id] = $definition;
}
}
return $boundary_capable_geocoders;
}