1 views_ui_base_views_wizard.php protected ViewsUiBaseViewsWizard::page_feed_display_options($form, $form_state)

File

core/modules/views_ui/wizards/views_ui_base_views_wizard.php, line 826
Provides the interface and base class for Views Wizard plugins.

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