public function SlickViews::init in Slick Views 7.2
Initialize a style plugin.
Parameters
view $view:
object $display:
array $options: The style options might come externally as the style can be sourced from at least two locations. If it's not included, look on the display.
Overrides views_plugin_style::init
File
- ./
SlickViews.inc, line 15 - Slick style plugin for the Views module.
Class
- SlickViews
- Implements a style type plugin for the Views module.
Code
public function init(&$view, &$display, $options = NULL) {
parent::init($view, $display, $options);
// Even empty active to call render; where library is attached if required.
if ($view->use_ajax) {
$this->definition['even empty'] = TRUE;
}
}