You are here

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

Add possible row style options.

Per default use fields with base field.

Overrides ViewsUiBaseViewsWizard::row_style_options

1 call to ViewsUiNodeViewsWizard::row_style_options()
ViewsUiNodeRevisionViewsWizard::row_style_options in plugins/views_wizard/views_ui_node_revision_views_wizard.class.php
Node revisions do not support full posts or teasers, so remove them.
1 method overrides ViewsUiNodeViewsWizard::row_style_options()
ViewsUiNodeRevisionViewsWizard::row_style_options in plugins/views_wizard/views_ui_node_revision_views_wizard.class.php
Node revisions do not support full posts or teasers, so remove them.

File

plugins/views_wizard/views_ui_node_views_wizard.class.php, line 13
Definition of ViewsUiNodeViewsWizard.

Class

ViewsUiNodeViewsWizard
Tests creating node views with the wizard.

Code

protected function row_style_options($type) {
  $options = array();
  $options['teasers'] = t('teasers');
  $options['full_posts'] = t('full posts');
  $options['titles'] = t('titles');
  $options['titles_linked'] = t('titles (linked)');
  $options['fields'] = t('fields');
  return $options;
}