You are here

public function Leaflet::evenEmpty in Leaflet 8

Same name and namespace in other branches
  1. 2.1.x modules/leaflet_views/src/Plugin/views/style/Leaflet.php \Drupal\leaflet_views\Plugin\views\style\Leaflet::evenEmpty()
  2. 2.0.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 a 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\style

Code

public function evenEmpty() {

  // Render map even if there is no data.
  return TRUE;
}