You are here

public function GeofieldGoogleMapViewStyle::evenEmpty in Geofield Map 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/views/style/GeofieldGoogleMapViewStyle.php \Drupal\geofield_map\Plugin\views\style\GeofieldGoogleMapViewStyle::evenEmpty()

Should the output of the style plugin be rendered even if it's a empty view.

Overrides StylePluginBase::evenEmpty

File

src/Plugin/views/style/GeofieldGoogleMapViewStyle.php, line 245

Class

GeofieldGoogleMapViewStyle
Style plugin to render a View output as a Leaflet map.

Namespace

Drupal\geofield_map\Plugin\views\style

Code

public function evenEmpty() {

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