How to set defaults for a custom Views display? I'm maintaining a module that provides a new type of Views display (extending the built-in views_plugin_display_page).

When the user chooses to add my type of display, I'd like to set up some sensible defaults, like creating a default url path, a default display_title, and some defaults for the additional options my module defines in the display's options_form.

How do I set these defaults?
The class views_plugin_display_page defines its options (and defaults) through the 
views_plugin_display_page::option_definition() method. This method is just a series overridden methods that extends from the view base class. In a similar manner, your custom plugin can override this method:

// defined in your views_plugin_display_page descendant class
function option_definition() {
  $options = parent::option_definition();

  // @TODO: set your own options plus override any other options
  // defined in parent classes. For example: 
  // $options['path'] = array('default' =&gt; 'my-default-view-path');

  return $options;
}