function views_plugin_display_page::option_definition

Overrides views_plugin_display::option_definition

1 call to views_plugin_display_page::option_definition()
views_plugin_display_feed::option_definition in plugins/views_plugin_display_feed.inc
Information about options for all kinds of purposes will be held here.
1 method overrides views_plugin_display_page::option_definition()
views_plugin_display_feed::option_definition in plugins/views_plugin_display_feed.inc
Information about options for all kinds of purposes will be held here.

File

plugins/views_plugin_display_page.inc, line 33

Class

views_plugin_display_page
The plugin that handles a full page.

Code

public function option_definition() {
    $options = parent::option_definition();
    $options['path'] = array(
        'default' => '',
    );
    $options['menu'] = array(
        'contains' => array(
            'type' => array(
                'default' => 'none',
            ),
            // Do not translate menu and title as menu system will.
'title' => array(
                'default' => '',
                'translatable' => FALSE,
            ),
            'description' => array(
                'default' => '',
                'translatable' => FALSE,
            ),
            'weight' => array(
                'default' => 0,
            ),
            'name' => array(
                'default' => variable_get('menu_default_node_menu', 'navigation'),
            ),
            'context' => array(
                'default' => '',
            ),
            'context_only_inline' => array(
                'default' => FALSE,
            ),
        ),
    );
    $options['tab_options'] = array(
        'contains' => array(
            'type' => array(
                'default' => 'none',
            ),
            // Do not translate menu and title as menu system will.
'title' => array(
                'default' => '',
                'translatable' => FALSE,
            ),
            'description' => array(
                'default' => '',
                'translatable' => FALSE,
            ),
            'weight' => array(
                'default' => 0,
            ),
            'name' => array(
                'default' => 'navigation',
            ),
        ),
    );
    return $options;
}