webform_protected_downloads.install in Webform Protected Downloads 8
Same filename and directory in other branches
Install file.
File
webform_protected_downloads.installView source
<?php
/**
* @file
* Install file.
*/
/**
* Implements hook_uninstall().
*/
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);
}
Functions
Name | Description |
---|---|
webform_protected_downloads_uninstall | Implements hook_uninstall(). |