Home / API reference / Drupal 7 / views_ui.module / views_ui_view_preview_section_display_category_links
views_ui_view_preview_section_display_category_links
Drupal 7 views_ui_view_preview_section_display_category_links($view, $type, $title)
Returns a link to editing a certain display setting.
1 call to views_ui_view_preview_section_display_category_links()
File
- sites/
all/ modules/ views/ views_ui.module, line 495 - views_ui.module 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('Edit @section', array('@section' => $title)),
'href' => "admin/structure/views/nojs/display/$view->name/$display->id/$type",
'attributes' => array('class' => array('views-ajax-link')),
),
);
return $links;
}

