function ViewsUiBaseViewsWizard::page_feed_display_options

1 call to ViewsUiBaseViewsWizard::page_feed_display_options()
ViewsUiBaseViewsWizard::build_display_options in plugins/views_wizard/views_ui_base_views_wizard.class.php
Build an array of display options for the view.

File

plugins/views_wizard/views_ui_base_views_wizard.class.php, line 848

Class

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

Code

protected function page_feed_display_options($form, $form_state) {
    $display_options = array();
    $display_options['pager']['type'] = 'some';
    $display_options['style_plugin'] = 'rss';
    $display_options['row_plugin'] = $form_state['values']['page']['feed_properties']['row_plugin'];
    $display_options['path'] = $form_state['values']['page']['feed_properties']['path'];
    $display_options['title'] = $form_state['values']['page']['title'];
    $display_options['displays'] = array(
        'default' => 'default',
        'page' => 'page',
    );
    return $display_options;
}