adding theming

This commit is contained in:
2017-06-27 12:08:23 +10:00
parent b2f1372950
commit b1b900dfb3
4 changed files with 118 additions and 1 deletions

View File

@@ -690,6 +690,27 @@ function booking_uninstall() {
//drupal_uninstall_schema('booking');
}
/**
* Implement hook_enable()
*/
function booking_enable() {
drupal_set_message($message = t('The Booking System module was successfully enabled.'), $type = 'status');
//let MIME Mail know that we can send html emails
mailsystem_set(array(
'booking' => 'BookingMailSystem',
));
}
/**
* Implement hook_disable()
*/
function booking_disable() {
drupal_set_message($message = t('The Booking System module was successfully disabled.'), $type = 'status');
//clean up our entry about mailsystems
mailsystem_clear(array(
'booking' => 'BookingMailSystem',
));
}
/**
* Implementation of hook_schema().