You are here

function entity_translation_unified_form_uninstall in Entity Translation Unified Form 8

Same name and namespace in other branches
  1. 7 entity_translation_unified_form.install \entity_translation_unified_form_uninstall()

Implements hook_uninstall().

File

./entity_translation_unified_form.install, line 11
Install file for entity translated unified form.

Code

function entity_translation_unified_form_uninstall() {
  foreach (node_type_get_names('names') as $type => $type_name) {
    \Drupal::state()
      ->delete('entity_translation_unified_form_enable_' . $type);
  }
}