You are here

function views_plugin_style_table_megarows::option_definition in Views Megarow 7

Sets our own default options.

Overrides views_plugin_style_table::option_definition

File

includes/views/plugins/views_plugin_style_table_megarows.inc, line 68
Contains the table style plugin.

Class

views_plugin_style_table_megarows
Style plugin to render each item as a row in a table.

Code

function option_definition() {
  $options = parent::option_definition();
  $options['autoclose'] = array(
    'default' => FALSE,
    'bool' => TRUE,
  );
  $options['enable_scroll'] = array(
    'default' => TRUE,
    'bool' => TRUE,
  );
  $options['scroll_padding'] = array(
    'default' => 120,
  );
  $options['loading_text'] = array(
    'default' => 'Loading...',
    'translatable' => TRUE,
  );
  $options['close'] = array(
    'default' => 'x',
    'translatable' => TRUE,
  );
  return $options;
}