You are here

function views_ui_views_wizard_defaults in Views (for Drupal 7) 8.3

Same name and namespace in other branches
  1. 7.3 views_ui.module \views_ui_views_wizard_defaults()

Helper function to define the default values for a Views wizard plugin.

Return value

An array of defaults for a views wizard.

2 calls to views_ui_views_wizard_defaults()
views_ui_get_wizard in views_ui/views_ui.module
Fetch metadata on a specific views ui wizard plugin.
views_ui_get_wizards in views_ui/views_ui.module
Fetch metadata for all content_type plugins.

File

views_ui/views_ui.module, line 518
Provide structure for the administrative interface to Views.

Code

function views_ui_views_wizard_defaults() {
  return array(
    // The children may, for example, be a different variant for each node type.
    'get children' => NULL,
    'get child' => NULL,
    // title and base table must be populated.  They are empty here just
    // so they are documented.
    'title' => '',
    'base_table' => NULL,
  );
}