Fix hook_uninstall: correct typo and add global namespace backslash to Drupal:: calls

The old uninstall code was trying to delete config entries but mass_contact_opt_out is actually a base field not a config field, so configFactory wasn't finding anything to delete. Switched to entityDefinitionUpdateManager which is the right way to remove base fields on uninstall. Closes #3581813

Edited by Akash Deep

Merge request reports

Loading