Commit c7d2aab2 authored by alexpott's avatar alexpott

Issue #2002502 by arh1: Rename Views method exposed_translate() to exposedTranslate().

parent 0d9ed85f
......@@ -794,7 +794,7 @@ public function buildExposedForm(&$form, &$form_state) {
unset($form[$operator]['#title']);
}
$this->exposed_translate($form[$operator], 'operator');
$this->exposedTranslate($form[$operator], 'operator');
unset($form['operator']);
}
......@@ -809,7 +809,7 @@ public function buildExposedForm(&$form, &$form_state) {
unset($form[$value]['#title']);
}
$this->exposed_translate($form[$value], 'value');
$this->exposedTranslate($form[$value], 'value');
if (!empty($form['#type']) && ($form['#type'] == 'checkboxes' || ($form['#type'] == 'select' && !empty($form['#multiple'])))) {
unset($form[$value]['#default_value']);
......@@ -1106,7 +1106,7 @@ public function addGroupForm($form, &$form_state) {
* Make some translations to a form item to make it more suitable to
* exposing.
*/
function exposed_translate(&$form, $type) {
protected function exposedTranslate(&$form, $type) {
if (!isset($form['#type'])) {
return;
}
......
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