function pm_uninstall_message in Drupal PM (Project Management) 7.3
Same name and namespace in other branches
- 8 includes/pm.install.inc \pm_uninstall_message()
Sets a standardised message on PM module uninstall.
10 calls to pm_uninstall_message()
- pmexpense_uninstall in pmexpense/
pmexpense.install - Implements hook_uninstall().
- pmissue_uninstall in pmissue/
pmissue.install - Implements hook_uninstall().
- pmnote_uninstall in pmnote/
pmnote.install - Implements hook_uninstall().
- pmorganization_uninstall in pmorganization/
pmorganization.install - Implements hook_uninstall().
- pmperson_uninstall in pmperson/
pmperson.install - Implements hook_uninstall().
File
- includes/
pm.install.inc, line 27 - Helper functions for install, disable, uninstall and update of PM modules.
Code
function pm_uninstall_message($module, $entity_name) {
$message = t('@module_name has been uninstalled. Fields attached to @entity_name have been deleted.', array(
// The human readable name is not available after disabling the module.
'@module_name' => $module,
'@entity_name' => $entity_name,
));
drupal_set_message($message);
}