'#default_value' =>
$this->options
['expose'
]['identifier'
],
'#title' =>
$this->
t('Filter identifier'
),
'#size' => 40,
'#description' =>
$this->
t('This will appear in the URL after the ? to identify this filter. Cannot be blank. Only letters, digits and the dot ("."), hyphen ("-"), underscore ("_"), and tilde ("~") characters are allowed.'
),
];
} /**
* {@inheritdoc}
*/
public static function trustedCallbacks() { $callbacks = parent::
trustedCallbacks();
$callbacks[] = 'preRenderFlattenData';
return $callbacks;
} /**
* Validate the options form.
*/
public function validateExposeForm($form, FormStateInterface
$form_state) { $identifier =
$form_state->
getValue(['options', 'expose', 'identifier'
]);
$this->
validateIdentifier($identifier,
$form_state,
$form['expose'
]['identifier'
]);