Commit 5ddbcc7d authored by catch's avatar catch
Browse files

Issue #3212521 by Spokje, longwave: cspell dislikes identifer in...

Issue #3212521 by Spokje, longwave: cspell dislikes identifer in core/modules/views/src/Plugin/views/filter/FilterPluginBase.php and will fail any patch touching that file

(cherry picked from commit f09730b5)
parent 6f10b88f
......@@ -963,24 +963,24 @@ public function buildExposedForm(&$form, FormStateInterface $form_state) {
*
* @param array $form
* The form.
* @param string $wrapper_identifer
* @param string $wrapper_identifier
* The key to use for the wrapper element.
*/
protected function buildValueWrapper(&$form, $wrapper_identifer) {
protected function buildValueWrapper(&$form, $wrapper_identifier) {
// If both the field and the operator are exposed, this will end up being
// called twice. We don't want to wipe out what's already there, so if it
// exists already, do nothing.
if (!isset($form[$wrapper_identifer])) {
$form[$wrapper_identifer] = [
if (!isset($form[$wrapper_identifier])) {
$form[$wrapper_identifier] = [
'#type' => 'fieldset',
];
$exposed_info = $this->exposedInfo();
if (!empty($exposed_info['label'])) {
$form[$wrapper_identifer]['#title'] = $exposed_info['label'];
$form[$wrapper_identifier]['#title'] = $exposed_info['label'];
}
if (!empty($exposed_info['description'])) {
$form[$wrapper_identifer]['#description'] = $exposed_info['description'];
$form[$wrapper_identifier]['#description'] = $exposed_info['description'];
}
}
}
......
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