function webform_webform_delete in Webform 6.x
Same name and namespace in other branches
- 8.5 includes/webform.editor.inc \webform_webform_delete()
Implements hook_webform_delete().
See also
File
- includes/
webform.editor.inc, line 59 - Webform module editor file upload hooks.
Code
function webform_webform_delete(WebformInterface $webform) {
$uuids = _webform_get_config_entity_file_uuids($webform);
_webform_delete_file_usage($uuids, $webform
->getEntityTypeId(), $webform
->id(), 0);
}