Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
If you have pathauto the webform_entity_pages_webform_submission_delete() function tries to execute a function that is removed:
/**
* Implements hook_webform_submission_delete().
*/
function webform_entity_pages_webform_submission_delete($node, $submission) {
if (module_exists('pathauto')) {
if (in_array($node->type, array_keys(webform_entity_get_types()))) {
module_load_include('inc', 'webform_entity_pages', 'webform_entity_pages.pathauto');
webform_entity_pages_delete_alias($submission);
}
}
}
Comment | File | Size | Author |
---|---|---|---|
#2 | 2553105-webform-remove-webform_entity_pages_webform_submission_delete.patch | 930 bytes | emattias |
Comments
Comment #2
emattias CreditAttribution: emattias at Wunder commentedThis patch removes the webform_entity_pages_webform_submission_delete implementation. I tried to find the webform_entity_pages_delete_alias() function in the repo history, but didn't. :(
Comment #3
AaronBaumanCan someone confirm that this function doesn't get fired via Entity API when a submission is deleted?