You are here

function pmissue_disable in Drupal PM (Project Management) 8

Same name and namespace in other branches
  1. 7.3 pmissue/pmissue.install \pmissue_disable()
  2. 7.2 pmissue/pmissue.install \pmissue_disable()

Implements hook_disable().

File

pmissue/pmissue.install, line 27
Install, disable, uninstall and update functions for PM Issue module.

Code

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

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