function yandex_metrics_filter_form_submit in Yandex.Metrics 6
Same name and namespace in other branches
- 7 yandex_metrics.module \yandex_metrics_filter_form_submit()
Implementation of hook_submit for yandex_metrics_time_interval_form form.
_state
Parameters
array $form:
File
- ./
yandex_metrics.module, line 223 - The main code of Yandex.Metrics module.
Code
function yandex_metrics_filter_form_submit($form, &$form_state) {
$filter = $form_state['values']['filter'];
if (!empty($filter)) {
drupal_goto('admin/reports/yandex_metrics_summary/' . $filter);
}
}