Commit 65d70e1a authored by alexpott's avatar alexpott

Issue #2002384 by toddtomlinson, nathangervais: Rename Views method...

Issue #2002384 by toddtomlinson, nathangervais: Rename Views method build_group_validate() to buildGroupValidate().
parent 995e4496
......@@ -105,7 +105,7 @@ public function validateValidTime(&$form, $operator, $value) {
/**
* Validate the build group options form.
*/
function build_group_validate($form, &$form_state) {
protected function buildGroupValidate($form, &$form_state) {
// Special case to validate grouped date filters, this is because the
// $group['value'] array contains the type of filter (date or offset)
// and therefore the number of items the comparission has to be done
......
......@@ -240,7 +240,7 @@ public function validateOptionsForm(&$form, &$form_state) {
$this->validateExposeForm($form, $form_state);
}
if ($this->isAGroup()) {
$this->build_group_validate($form, $form_state);
$this->buildGroupValidate($form, $form_state);
}
}
......@@ -619,7 +619,7 @@ public function validateExposeForm($form, &$form_state) {
/**
* Validate the build group options form.
*/
function build_group_validate($form, &$form_state) {
protected function buildGroupValidate($form, &$form_state) {
if (!empty($form_state['values']['options']['group_info'])) {
if (empty($form_state['values']['options']['group_info']['identifier'])) {
form_error($form['group_info']['identifier'], t('The identifier is required if the filter is exposed.'));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment