- Issue created by @cameron prince
- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
As well as the form id and token
When using the manual delete function at /admin/config/content/fancy_file_delete/manual, the FID numbers entered into the field are saved in config when the form is submitted. This results in a diff each time drush cex
is ran.
Unless I'm misunderstanding something, it seems like these config-related lines could be removed from FancyFileDeleteManual.php's submitForm() method. The class doesn't use config at all and this would prevent the input from being saved upon each use.
$config = $this->config('fancy_file_delete.settings');
foreach (Element::children($form) as $variable) {
$config->set($variable, $form_state->getValue($form[$variable]['#parents']));
}
$config->save();
Active
2.0
Code
As well as the form id and token