1 views_handler_area.inc views_handler_area::init(&$view, &$options)

Overrides views_handler::init().

Make sure that no result area handlers are set to be shown when the result is empty.

Overrides views_handler::init

File

core/modules/views/handlers/views_handler_area.inc, line 28
Views area handlers.

Class

views_handler_area
Base class for area handlers.

Code

function init(&$view, &$options) {
  parent::init($view, $options);
  if ($this->handler_type == 'empty') {
    $this->options['empty'] = TRUE;
  }
}