You are here

function yandex_metrics_reports_summary_page_title_callback in Yandex.Metrics 8.3

Same name and namespace in other branches
  1. 7.3 yandex_metrics_reports/yandex_metrics_reports.module \yandex_metrics_reports_summary_page_title_callback()
  2. 7.2 yandex_metrics_reports/yandex_metrics_reports.module \yandex_metrics_reports_summary_page_title_callback()

Callback for title on summary page, which is modified depending on time period.

Parameters

$filter:

Return value

string

1 string reference to 'yandex_metrics_reports_summary_page_title_callback'
yandex_metrics_reports_menu in yandex_metrics_reports/yandex_metrics_reports.module
Implements hook_menu().

File

yandex_metrics_reports/yandex_metrics_reports.module, line 694
The main code of Yandex.Metrics Reports module.

Code

function yandex_metrics_reports_summary_page_title_callback($filter) {
  $title = t('Yandex.Metrics Summary Report') . ': ' . yandex_metrics_reports_get_filter_name($filter);
  return $title;
}