// Unfortunately, this means that if the key to that checkbox is 0,
// we are unable to tell if that checkbox was set or not.
// Luckily, the '#value' on the checkboxes form actually contains
// *only* a list of checkboxes that were set, and we can use that
// instead.
$form_state->
setValue(['options', 'value'
],
$form['value'
]['#value'
]);
} public function adminSummary() { if ($this->
isAGroup()) { return $this->
t('grouped'
);
} if (!
empty($this->options
['exposed'
])) { return $this->
t('exposed'
);
} $info =
$this->
operators();
$this->
getValueOptions();
// Some filter_in_operator usage uses optgroups forms, so flatten it.
$flat_options = OptGroup::
flattenOptions($this->valueOptions
);