protected function ConfigForm::sanitize_array in Insert 8.2
Parameters
array $source:
Return value
array
1 call to ConfigForm::sanitize_array()
- ConfigForm::submitForm in src/
Form/ ConfigForm.php - @inheritdoc
File
- src/
Form/ ConfigForm.php, line 174
Class
Namespace
Drupal\insert\FormCode
protected function sanitize_array(array $source) {
return array_filter($source, function ($value) {
return $value !== '';
});
}