You are here

function pmnote_disable in Drupal PM (Project Management) 8

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

Implements hook_disable().

File

pmnote/pmnote.install, line 28
Functions for the PM Note module.

Code

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

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