function views_ui_theme

Same name in other branches
  1. 8.9.x core/modules/views_ui/views_ui.module \views_ui_theme()
  2. 10 core/modules/views_ui/views_ui.module \views_ui_theme()
  3. 11.x core/modules/views_ui/views_ui.module \views_ui_theme()

Implements hook_theme().

File

core/modules/views_ui/views_ui.module, line 63

Code

function views_ui_theme() {
    return [
        // edit a view
'views_ui_display_tab_setting' => [
            'variables' => [
                'description' => '',
                'link' => '',
                'settings_links' => [],
                'overridden' => FALSE,
                'defaulted' => FALSE,
                'description_separator' => TRUE,
                'class' => [],
            ],
            'file' => 'views_ui.theme.inc',
        ],
        'views_ui_display_tab_bucket' => [
            'render element' => 'element',
            'file' => 'views_ui.theme.inc',
        ],
        'views_ui_rearrange_filter_form' => [
            'render element' => 'form',
            'file' => 'views_ui.theme.inc',
        ],
        'views_ui_expose_filter_form' => [
            'render element' => 'form',
            'file' => 'views_ui.theme.inc',
        ],
        // Legacy theme hook for displaying views info.
'views_ui_view_info' => [
            'variables' => [
                'view' => NULL,
                'displays' => NULL,
            ],
            'file' => 'views_ui.theme.inc',
        ],
        // List views.
'views_ui_views_listing_table' => [
            'variables' => [
                'headers' => NULL,
                'rows' => NULL,
                'attributes' => [],
            ],
            'file' => 'views_ui.theme.inc',
        ],
        'views_ui_view_displays_list' => [
            'variables' => [
                'displays' => [],
            ],
        ],
        // Group of filters.
'views_ui_build_group_filter_form' => [
            'render element' => 'form',
            'file' => 'views_ui.theme.inc',
        ],
        // On behalf of a plugin
'views_ui_style_plugin_table' => [
            'render element' => 'form',
            'file' => 'views_ui.theme.inc',
        ],
        // When previewing a view.
'views_ui_view_preview_section' => [
            'variables' => [
                'view' => NULL,
                'section' => NULL,
                'content' => NULL,
                'links' => '',
            ],
            'file' => 'views_ui.theme.inc',
        ],
        // Generic container wrapper, to use instead of theme_container when an id
        // is not desired.
'views_ui_container' => [
            'variables' => [
                'children' => NULL,
                'attributes' => [],
            ],
            'file' => 'views_ui.theme.inc',
        ],
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.