public function views_handler_area::init in Views (for Drupal 7) 7.3
Init the handler with necessary data.
Parameters
view $view: The $view object this handler is attached to.
array $options: The item from the database; the actual contents of this will vary based upon the type of handler.
Overrides views_handler::init
File
- handlers/
views_handler_area.inc, line 25 - Definition of views_handler_area and views_handler_area_broken.
Class
- views_handler_area
- Base class for area handlers.
Code
public function init(&$view, &$options) {
parent::init($view, $options);
// Make sure that no result area handlers are set to be shown when the
// result is empty.
if ($this->handler_type == 'empty') {
$this->options['empty'] = TRUE;
}
}