public function Leaflet::evenEmpty in Leaflet 2.0.x
Same name and namespace in other branches
- 8 modules/leaflet_views/src/Plugin/views/style/Leaflet.php \Drupal\leaflet_views\Plugin\views\style\Leaflet::evenEmpty()
- 2.1.x modules/leaflet_views/src/Plugin/views/style/Leaflet.php \Drupal\leaflet_views\Plugin\views\style\Leaflet::evenEmpty()
Should the output of the style plugin be rendered even if it's an empty view.
Overrides StylePluginBase::evenEmpty
File
- modules/
leaflet_views/ src/ Plugin/ views/ style/ Leaflet.php, line 177
Class
- Leaflet
- 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;
}