You are here

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

Node revisions do not support full posts or teasers, so remove them.

Overrides ViewsUiNodeViewsWizard::row_style_options

File

plugins/views_wizard/views_ui_node_revision_views_wizard.class.php, line 16
Definition of ViewsUiNodeRevisionViewsWizard.

Class

ViewsUiNodeRevisionViewsWizard
Tests creating node revision views with the wizard.

Code

protected function row_style_options($type) {
  $options = parent::row_style_options($type);
  unset($options['teasers']);
  unset($options['full_posts']);
  return $options;
}