function yandex_metrics_reports_get_filter_name in Yandex.Metrics 8.3
Same name and namespace in other branches
- 7.3 yandex_metrics_reports/yandex_metrics_reports.module \yandex_metrics_reports_get_filter_name()
- 7.2 yandex_metrics_reports/yandex_metrics_reports.module \yandex_metrics_reports_get_filter_name()
Returns string with human-readable filter's name.
1 call to yandex_metrics_reports_get_filter_name()
- yandex_metrics_reports_summary_page_title_callback in yandex_metrics_reports/
yandex_metrics_reports.module - Callback for title on summary page, which is modified depending on time period.
File
- yandex_metrics_reports/
yandex_metrics_reports.module, line 667 - The main code of Yandex.Metrics Reports module.
Code
function yandex_metrics_reports_get_filter_name($filter) {
$filters = yandex_metrics_reports_get_filters();
return isset($filters[$filter]) ? $filters[$filter] : FALSE;
}