Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 291123

Improve documentation of module_uninstall()

$
0
0

API page: http://api.drupal.org/api/drupal/core%21includes%21module.inc/function/m...

The code docs for module_uninstall()() need improvement. They have at least the following issues:

  • They don't indicate that modules must be disabled first or what will happen if they aren't.
  • They don't specify all @param or @return types.
  • They don't specify the parameter defaults.
  • They don't @see closely-related functions.
  • Language issue: "dependent" should be "dependant" when referring to a noun. ("Dependent" is an adjective.)
  • And a couple of other minor things.

Patch to follow.


Viewing all articles
Browse latest Browse all 291123

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>