Contains filters are case sensitive
Name Locationsort descending Description
drush_redispatch_get_options includes/ Get the options for this command.
drush_log includes/ Add a log message to the log history.
drush_get_log includes/ Retrieve the log messages from the log history
dlm includes/ Run print_r on a variable and log the output.
drush_pipe_output includes/
_drush_print_log includes/ Display the log message
drush_print_timers includes/
_drush_log_drupal_messages includes/ Turn drupal_set_message errors into drush_log errors
drush_format_size includes/
system_watchdog includes/ Log Drupal watchdog() calls.
_drush_log_update_sql includes/ Log the return value of Drupal hook_update_n functions.
drush_set_error includes/ Set an error code for the error handling system.
drush_get_error includes/ Return the current error handling status
drush_get_error_log includes/ Return the current list of errors that have occurred.
drush_cmp_error includes/ Check if a specific error status has been set.
drush_errors_off includes/ Turn PHP error handling off.
drush_errors_on includes/ Turn PHP error handling on.
drush_memory_limit includes/ Get the PHP memory_limit value in bytes.
drush_unset_recursive includes/ Unset the named key anywhere in the provided data structure.
drush_dispatch includes/ Dispatch a given set of commands. Modules can add commands by implementing hook_drush_command().
drush_include includes/ Include a file, selecting a version specific file if available.
drush_get_engines includes/ Return a structured array of engines of a specific type from commandfiles implementing hook_drush_engine_$type.
drush_include_engine includes/ Include the engine code for a specific named engine of a certain type.
drush_drupal_version includes/ Detects the version number of the current Drupal installation, if any. Returns FALSE if there is no current Drupal installation, or it is somehow broken.
drush_drupal_cache_clear_all includes/
drush_drupal_major_version includes/ Returns the Drupal major version number (5, 6, 7 ...)
_drush_replace_query_placeholders includes/ Replace named placeholders in a WHERE snippet.
drush_db_select includes/ A db_select() that works for any version of Drupal.
drush_db_delete includes/ A db_delete() that works for any version of Drupal.
drush_db_result includes/ A db_result() that works consistently for any version of Drupal.
drush_db_fetch_object includes/ A db_fetch_object() that works for any version of Drupal.
drush_save_data_to_temp_file includes/ Save a string to a temporary file. Does not depend on Drupal's API. The temporary file will be automatically deleted when drush exits.
drush_tempnam includes/ Creates a temporary file, and registers it so that it will be deleted when drush exits. Whenever possible, drush_save_data_to_temp_file() should be used instead of this function.
drush_register_file_for_deletion includes/ Any file passed in to this function will be deleted when drush exits.
_drush_delete_registered_files includes/ Delete all of the registered temporary files.
drush_delete_dir includes/ Deletes the provided file or folder and everything inside it.
drush_move_dir includes/ Move $src to $dest. If the php 'rename' function doesn't work, then we'll try rsync.
drush_op includes/ Calls a given function, passing through all arguments unchanged.
dt includes/ Rudimentary replacement for Drupal API t() function.
drush_get_option_help includes/ Get the available options for Drush for use by help page.
drush_show_help includes/ Prints out help for a given command.
drush_shell_exec includes/ Executes a shell command. Output is only printed if in verbose mode. Output is stored and can be retrieved using drush_shell_exec_output(). If in simulation mode, no action is taken.
_drush_shell_exec_output_set includes/ Stores output for the most recent shell command. This should only be run from drush_shell_exec().
drush_shell_exec_output includes/ Returns the output of the most recent shell command as an array of lines.
drush_die includes/ Exits with a message. In general, you should use drush_set_error() instead of this function. That lets drush proceed with other tasks. TODO: Exit with a correct status code.
drush_print includes/ Prints a message with optional indentation. In general, drush_log($message, 'ok') is often a better choice than this function. That gets your confirmation message (for example) into the logs for this drush request. Consider that drush…
drush_print_pipe includes/ Stores a message which is printed during drush_shutdown() if in compact mode.
_drush_bootstrap_phases includes/ Helper function listing phases.
drush_bootstrap includes/ Bootstrap Drush to the desired phase.
drush_bootstrap_validate includes/ Validate whether a bootstrap phases can be reached.