function ViewsUiNodeViewsWizard::row_style_options

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 16

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