You are here

function theme_viewreference_display_title in View reference 7.3

Same name and namespace in other branches
  1. 6.3 viewreference.module \theme_viewreference_display_title()

Theme the display title for this view display.

Parameters

$variables: An array of useful values with the keys: 'view' - The view object. 'view_name' - The name of the view. 'display_key' - The name of the display to use. 'append_id' - Boolean indicating whether to append a unique id.

Return value

The title of this view.

1 theme call to theme_viewreference_display_title()
viewreference_get_view in ./viewreference.module
Get an array of data and rendered HTML items that are useful in theming the formatter output.

File

./viewreference.module, line 798
Defines a field type for referencing a view from a node.

Code

function theme_viewreference_display_title($variables) {
  $display_title = $variables['view']
    ->get_title();
  return $display_title;
}