You are here

protected function ViewsUiBaseViewsWizard::row_style_options in Views (for Drupal 7) 7.3

Add possible row style options.

Per default use fields with base field.

1 call to ViewsUiBaseViewsWizard::row_style_options()
ViewsUiBaseViewsWizard::build_form_style in plugins/views_wizard/views_ui_base_views_wizard.class.php
Build the part of the form that builds the display format options.
2 methods override ViewsUiBaseViewsWizard::row_style_options()
ViewsUiCommentViewsWizard::row_style_options in plugins/views_wizard/views_ui_comment_views_wizard.class.php
Add possible row style options.
ViewsUiNodeViewsWizard::row_style_options in plugins/views_wizard/views_ui_node_views_wizard.class.php
Add possible row style options.

File

plugins/views_wizard/views_ui_base_views_wizard.class.php, line 335
Provides the interface and base class for Views Wizard plugins.

Class

ViewsUiBaseViewsWizard
A very generic Views Wizard class - can be constructed for any base table.

Code

protected function row_style_options($type) {
  $data = views_fetch_data($this->base_table);

  // Get all available row plugins by default.
  $options = views_fetch_plugin_names('row', 'normal', array(
    $this->base_table,
  ));
  return $options;
}