function contact_form_revisions_uninstall in Config Entity Revisions 8.2
Implements hook_uninstall().
File
- modules/
contact_form_revisions/ contact_form_revisions.install, line 26 - Install hooks for contact_form_revisions.
Code
function contact_form_revisions_uninstall() {
$entityTypeManager = \Drupal::entityTypeManager();
$cert_storage = $entityTypeManager
->getStorage('config_entity_revisions_type');
$entity = $cert_storage
->load('contact_form_revisions');
$cert_storage
->delete([
$entity,
]);
}