coder_upgrade.inc

Version 1.2 (checked in on 2009/08/03 at 00:11:11 by solotandem)

Constants and utility functions for the coder_upgrade module.

Copyright 2008-9 by Jim Berry ("solotandem", http://drupal.org/user/240748)

Constants

NameDescription
DEADWOOD_DIRThe default directory to store modules to be converted. Relative to file_directory_path().
DEADWOOD_NEWThe default directory to store converted modules. Relative to file_directory_path().
DEADWOOD_OLDThe default directory to store modules to be converted. Relative to file_directory_path().
DEADWOOD_PATCHThe default directory to store patch files. Relative to file_directory_path().

Functions

NameDescription
coder_upgrade_clean_directoryRemove all files from the specified directory and optionally remove the directory.
coder_upgrade_scan_directoryScan a specified directory and find all first-level directories beneath it.
tpPass a string through t() and wrap the result in html entity <p>.