function webform_protected_downloads_uninstall in Webform Protected Downloads 8
Same name and namespace in other branches
- 6 webform_protected_downloads.install \webform_protected_downloads_uninstall()
Implements hook_uninstall().
File
- ./
webform_protected_downloads.install, line 11 - Install file.
Code
function webform_protected_downloads_uninstall() {
$entity_update_manager = \Drupal::entityDefinitionUpdateManager();
$entity_type = $entity_update_manager
->getEntityType('webform_protected_downloads');
$entity_update_manager
->uninstallEntityType($entity_type);
}