Functions

Contains filters are case sensitive
Namesort descending Location Description
drush_pm_classify_projects commands/pm/pm.drush.inc Classify projects in modules, themes or unknown ones.
drush_pm_cvs commands/pm/package_handler/cvs.inc General CVS helper function
drush_pm_disable commands/pm/pm.drush.inc Command callback. Disable one or more projects.
drush_pm_download commands/pm/pm.drush.inc Command callback. Download Drupal core or any project.
drush_pm_enable commands/pm/pm.drush.inc Command callback. Enable one or more projects.
drush_pm_get_projects commands/pm/pm.drush.inc Wrapper of drupal_get_projects() with additional information used by pm- commands.
drush_pm_include_version_control commands/pm/pm.drush.inc A simple factory function that tests for version control systems, in a user specified order, and return the one that appears to be appropriate for a specific directory.
drush_pm_info commands/pm/pm.drush.inc Command callback. Show detailed info for one or more projects.
drush_pm_list commands/pm/pm.drush.inc Command callback. Show a list of modules and status.
drush_pm_post_pm_update commands/pm/pm.drush.inc Post-command callback. Execute updatedb command after an updatecode - user requested `update`.
drush_pm_post_pm_updatecode commands/pm/pm.drush.inc Post-command callback for updatecode. Notify about any pending DB updates.
drush_pm_refresh commands/pm/pm.drush.inc Command callback. Refresh update status information.
drush_pm_releases commands/pm/pm.drush.inc A drush command callback. Show release info for given project(s).
drush_pm_relocate_project commands/pm/pm.drush.inc drush_pm_relocate_project moves projects that should be relocated to a different installation directory to the location they belong in. For example, modules that are only collections of drush commands will be installed to $HOME/.drush.
drush_pm_uninstall commands/pm/pm.drush.inc Command callback. Uninstall one or more modules. // TODO: Use drupal_execute on system_modules_uninstall_confirm_form so that input is validated.
drush_pm_update commands/pm/pm.drush.inc Command callback. Execute updatecode.
drush_pm_updatecode commands/pm/updatecode.pm.inc Command callback. Displays update status info and allows to update installed projects. Pass specific projects as arguments, otherwise we update all that have candidate releases.
drush_pm_updatecode_rollback commands/pm/updatecode.pm.inc
drush_print includes/drush.inc 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/drush.inc Stores a message which is printed during drush_shutdown() if in compact mode.
drush_print_r includes/drush.inc Prints an array or string.
drush_print_table includes/drush.inc Print a formatted table.
drush_print_timers includes/drush.inc
drush_prompt includes/drush.inc Prompt the user for input
drush_read_drush_info includes/environment.inc Read the drush info file.
drush_redispatch_get_options includes/drush.inc Get the options for this command.
drush_register_file_for_deletion includes/drush.inc Any file passed in to this function will be deleted when drush exits.
drush_remote_command includes/drush.inc Process commands that are executed on a remote drush instance.
drush_return_status ./drush.php
drush_sandwich_make_me_a_sandwich examples/sandwich.drush.inc Example drush command callback. This is where the action takes place.
drush_sandwich_make_me_a_sandwich_validate examples/sandwich.drush.inc
drush_save_config includes/context.inc Save the settings in a specific context to the applicable configuration file This is useful is you want certain settings to be available automatically the next time a command is executed.
drush_save_data_to_temp_file includes/drush.inc 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_scan_directory includes/command.inc Finds all files that match a given mask in a given directory. Directories and files beginning with a period are excluded; this prevents hidden files and directories (such as SVN working directories and GIT repositories) from being scanned.
drush_server_home includes/environment.inc
drush_set_arguments includes/context.inc Set the arguments passed to the drush.php script.
drush_set_command includes/context.inc Set the command being executed.
drush_set_config_options includes/context.inc
drush_set_config_special_contexts includes/context.inc There are certain options such as 'site-aliases' and 'command-specific' that must be merged together if defined in multiple drush configuration files. If we did not do this merge, then the last configuration file that defined any…
drush_set_context includes/context.inc Set a specific context.
drush_set_default includes/context.inc A small helper function to set the value in the default context
drush_set_error includes/drush.inc Set an error code for the error handling system.
drush_set_option includes/context.inc Set an option in one of the option contexts.
drush_shell_exec includes/drush.inc 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 includes/drush.inc Returns the output of the most recent shell command as an array of lines.
drush_show_help includes/drush.inc Prints out help for a given command.
drush_shutdown ./drush.php Shutdown function for use while Drupal is bootstrapping and to return any registered errors.
drush_sitealias_add_db_settings includes/sitealias.inc If the alias record does not contain a 'databases' or 'db-url' entry, then use backend invoke to look up the settings value from the remote or local site. The 'databases' form is preferred; 'db_url' will be…
drush_sitealias_add_db_url includes/sitealias.inc If the alias record does not contain a 'databases' or 'db-url' entry, then use backend invoke to look up the settings value from the remote or local site. The 'db_url' form is preferred; nothing is done if…
drush_sitealias_add_to_alias_path includes/sitealias.inc Add a path to the array of paths where alias files are searched for.

Pages