public function GeolocationFieldProvider::isViewsGeoOption in Geolocation Field 8.2
Same name and namespace in other branches
- 8.3 src/Plugin/geolocation/DataProvider/GeolocationFieldProvider.php \Drupal\geolocation\Plugin\geolocation\DataProvider\GeolocationFieldProvider::isViewsGeoOption()
Determine valid views option.
Parameters
\Drupal\views\Plugin\views\field\FieldPluginBase $views_field: Views field definition.
Return value
bool Yes or no.
Overrides DataProviderBase::isViewsGeoOption
File
- src/
Plugin/ geolocation/ DataProvider/ GeolocationFieldProvider.php, line 105
Class
- GeolocationFieldProvider
- Provides default geolocation field.
Namespace
Drupal\geolocation\Plugin\geolocation\DataProviderCode
public function isViewsGeoOption(FieldPluginBase $views_field) {
return $views_field
->getPluginId() == 'geolocation_field';
}