You are here

function pmexpense_disable in Drupal PM (Project Management) 8

Same name and namespace in other branches
  1. 7.3 pmexpense/pmexpense.install \pmexpense_disable()
  2. 7 pmexpense/pmexpense.install \pmexpense_disable()

Implements hook_disable().

File

pmexpense/pmexpense.install, line 28
Installation file for pmexpense module.

Code

function pmexpense_disable() {
  module_load_include('inc', 'pm', 'includes/pm.install');
  $module = 'pmexpense';

  // Set standardised message.
  pm_disable_message($module, 'expenses');
}