public function LeafletMap::evenEmpty in Leaflet 8
Same name and namespace in other branches
- 2.1.x modules/leaflet_views/src/Plugin/views/style/LeafletMap.php \Drupal\leaflet_views\Plugin\views\style\LeafletMap::evenEmpty()
- 2.0.x modules/leaflet_views/src/Plugin/views/style/LeafletMap.php \Drupal\leaflet_views\Plugin\views\style\LeafletMap::evenEmpty()
Should the output of the style plugin be rendered even if it's a empty view.
Overrides StylePluginBase::evenEmpty
File
- modules/
leaflet_views/ src/ Plugin/ views/ style/ LeafletMap.php, line 428
Class
- LeafletMap
- Style plugin to render a View output as a Leaflet map.
Namespace
Drupal\leaflet_views\Plugin\views\styleCode
public function evenEmpty() {
// Render map even if there is no data.
return TRUE;
}