1 views_ui.module | views_ui_view_preview_section_display_category_links($view, $type, $title) |
Returns a link to configuring a certain display setting.
File
- core/
modules/ views_ui/ views_ui.module, line 500 - Provide structure for the administrative interface to Views.
Code
function views_ui_view_preview_section_display_category_links($view, $type, $title) {
$display = $view->display_handler->display;
$links = array(
$type . '-edit' => array(
'title' => t('Configure @section', array('@section' => $title)),
'href' => "admin/structure/views/nojs/display/$view->name/$display->id/$type",
'attributes' => array('class' => array('views-ajax-link')),
),
);
return $links;
}