You are here

function pmtask_disable in Drupal PM (Project Management) 8

Same name and namespace in other branches
  1. 7.3 pmtask/pmtask.install \pmtask_disable()
  2. 7 pmtask/pmtask.install \pmtask_disable()
  3. 7.2 pmtask/pmtask.install \pmtask_disable()

Implements hook_disable().

File

pmtask/pmtask.install, line 29
Install, disable, uninstall and update functions for pmtask module.

Code

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

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