public function IsotopeViewsPluginStyleIsotopeGrid::option_definition in Isotope (with Masonry and Packery) 7.2
Set default options.
Overrides views_plugin_style_list::option_definition
File
- isotope_views/
IsotopeViewsPluginStyleIsotopeGrid.inc, line 15 - Define the "grid" views plugin.
Class
- IsotopeViewsPluginStyleIsotopeGrid
- Style plugin.
Code
public function option_definition() {
$options = parent::option_definition();
$options['instance_id'] = array(
'default' => '',
);
$options['data_fields'] = array(
'default' => array(),
);
return $options;
}