function ViewsUiNodeRevisionViewsWizard::row_style_options

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

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;
}