You are here

function yandex_metrics_reports_filter_form_submit in Yandex.Metrics 8.3

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

Form submit handler for yandex_metrics_reports_time_interval_form form.

File

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

Code

function yandex_metrics_reports_filter_form_submit($form, &$form_state) {
  $filter = $form_state['values']['filter'];
  if (!empty($filter)) {
    drupal_goto('admin/reports/yandex_metrics_summary/' . $filter);
  }
}