function appointment_calendar_uninstall in Appointment Calendar 8
Same name and namespace in other branches
- 7 appointment_calendar.install \appointment_calendar_uninstall()
Implements hook_unistall().
File
- ./
appointment_calendar.install, line 11 - Install and uninstall functions for the Appointment Calendar module.
Code
function appointment_calendar_uninstall() {
$content_type = \Drupal::entityTypeManager()
->getStorage('node_type')
->load('appointment_calendar');
$content_type
->delete();
}