You are here

public function IsotopeViewsPluginStyleIsotopeSorter::option_definition in Isotope (with Masonry and Packery) 7.2

Set default options.

Overrides views_plugin_style_list::option_definition

File

isotope_views/IsotopeViewsPluginStyleIsotopeSorter.inc, line 15
Define the "sorter" views plugin.

Class

IsotopeViewsPluginStyleIsotopeSorter
Style plugin.

Code

public function option_definition() {
  $options = parent::option_definition();
  $options['instance_id'] = array(
    'default' => '',
  );
  $options['data_fields'] = array(
    'default' => array(),
  );
  $options['original'] = array(
    'default' => array(),
  );
  return $options;
}