1 views_ui.theme.inc theme_views_ui_view_description($variables)

Display the view description, tags, and type (base table).

File

core/modules/views_ui/views_ui.theme.inc, line 22
Theme functions for the Views UI module.

Code

function theme_views_ui_view_description($variables) {
  $view = $variables['view'];

  $output = '';
  $output = '<div class="views-ui-view-description">' . check_plain($view->description) . '</div>';
  $output .= '<div class="views-ui-view-tag">' . t('Tags') . ': ' . check_plain($view->tag) . '</div>';
  $output .= '<div class="views-ui-view-storage">' . t('Type') . ': ' . check_plain($view->base_table) . '</div>';
  return $output;
}