You are here

public function CommonMap::evenEmpty in Geolocation Field 8

Same name and namespace in other branches
  1. 8.3 src/Plugin/views/style/CommonMap.php \Drupal\geolocation\Plugin\views\style\CommonMap::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/CommonMap.php, line 80

Class

CommonMap
Allow to display several field items on a common map.

Namespace

Drupal\geolocation\Plugin\views\style

Code

public function evenEmpty() {
  return $this->options['even_empty'] ? TRUE : FALSE;
}