Commit 39a0b439 authored by webchick's avatar webchick
Browse files

Issue #2183423 by InternetDevels | bohart: In ManyToOne Rename Views properties to core standards.

parent 5439b769
......@@ -23,7 +23,7 @@
*/
class InOperator extends FilterPluginBase {
var $value_form_type = 'checkboxes';
protected $valueFormType = 'checkboxes';
/**
* @var array
......@@ -216,7 +216,7 @@ protected function valueForm(&$form, &$form_state) {
if ($which == 'all' || $which == 'value') {
$form['value'] = array(
'#type' => $this->value_form_type,
'#type' => $this->valueFormType,
'#title' => $this->value_title,
'#options' => $options,
'#default_value' => $default_value,
......@@ -229,7 +229,7 @@ protected function valueForm(&$form, &$form_state) {
}
if ($which == 'all') {
if (empty($form_state['exposed']) && (in_array($this->value_form_type, array('checkbox', 'checkboxes', 'radios', 'select')))) {
if (empty($form_state['exposed']) && (in_array($this->valueFormType, array('checkbox', 'checkboxes', 'radios', 'select')))) {
$form['value']['#prefix'] = '<div id="edit-options-value-wrapper">';
$form['value']['#suffix'] = '</div>';
}
......
......@@ -106,7 +106,7 @@ function operators() {
return $operators;
}
var $value_form_type = 'select';
protected $valueFormType = 'select';
protected function valueForm(&$form, &$form_state) {
parent::valueForm($form, $form_state);
......
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