You are here

function semanticviews_plugin_row_fields::option_definition in Semantic Views 6

Same name and namespace in other branches
  1. 7 semanticviews_plugin_row_fields.inc \semanticviews_plugin_row_fields::option_definition()

File

./semanticviews_plugin_row_fields.inc, line 16
Contains the semantic row style plugin.

Class

semanticviews_plugin_row_fields
The semantic 'fields' row plugin

Code

function option_definition() {
  $options = parent::option_definition();
  $options['skip_blank'] = array(
    'default' => FALSE,
  );

  // Field element_type and classes cannot be defined in the options
  // definition because the field handlers are not attached when the option
  // defaults are set up in the object's init() method.
  $options['semantic_html'] = array(
    'default' => array(),
  );
  return $options;
}