Functions

Contains filters are case sensitive
Namesort descending Location Description
drush_pm_updatecode_rollback commands/pm/updatecode.pm.inc Rollback the update process.
drush_pm_updatecode_validate commands/pm/pm.drush.inc Validate callback for updatecode command. Abort if 'backup' directory exists.
drush_pm_updatestatus commands/pm/updatestatus.pm.inc Command callback. Displays update status info of installed projects.
drush_pm_update_lock commands/pm/pm.drush.inc Update the locked status of all of the candidate projects to be updated.
drush_policy_core_rsync_validate examples/policy.drush.inc Implements drush_hook_COMMAND_validate().
drush_policy_make_me_a_sandwich_validate examples/policy.drush.inc Implements drush_hook_COMMAND_validate().
drush_policy_sql_sync_validate examples/policy.drush.inc Implements drush_hook_COMMAND_validate().
drush_policy_updatedb_validate examples/policy.drush.inc Implements drush_hook_COMMAND_validate().
drush_postflight includes/preflight.inc We set this context to let the shutdown function know we reached the end of drush_main().
drush_preflight includes/preflight.inc During the initialization of Drush, this is the first step where we load our configuration and commandfiles, and select the site we are going to operate on; however, we take no irreversible actions (e.g. site bootstrapping). This allows commands that…
drush_preflight_backup_dir includes/filesystem.inc Decide where our backup directory should go
drush_preflight_command_dispatch includes/preflight.inc Handle any command preprocessing that may need to be done, including potentially redispatching the command immediately (e.g. for remote commands).
drush_preflight_prepare includes/preflight.inc Prepare Drush for preflight.
drush_preflight_root includes/preflight.inc If --root is provided, set context.
drush_preflight_site includes/preflight.inc
drush_preflight_tilde_expansion includes/preflight.inc Look for instances of arguments or parameters that start with "~/". Replace these with "$HOME/".
drush_prepare_backup_dir includes/filesystem.inc Prepare a backup directory
drush_print includes/output.inc Prints a message with optional indentation. In general, drush_log($message, LogLevel::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 requests…
drush_print_file includes/output.inc Print the contents of a file.
drush_print_format includes/output.inc Format some data and print it out. Respect --format option.
drush_print_help commands/core/help.drush.inc Print the help for a single command to the screen.
drush_print_pipe includes/output.inc Stores a message which is printed during drush_shutdown() if in compact mode.
drush_print_prompt includes/output.inc Print a prompt -- that is, a message with no trailing newline.
drush_print_r includes/output.inc Prints an array or string.
drush_print_table includes/output.inc Print a formatted table.
drush_print_timers includes/drush.inc
drush_process_bootstrap_to_first_arg includes/command.inc Process the --bootstrap-to-first-arg option, if it is present.
drush_program_exists includes/filesystem.inc
drush_prompt includes/drush.inc Prompt the user for input
drush_queue_get_class commands/core/queue.drush.inc Return the appropriate queue class.
drush_queue_list commands/core/queue.drush.inc Command callback for drush queue-list.
drush_queue_run commands/core/queue.drush.inc Command callback for drush queue-run.
drush_queue_run_validate commands/core/queue.drush.inc Validation callback for drush queue-run.
drush_read_drush_info includes/environment.inc Read the drush info file.
drush_redispatch_get_options includes/command.inc Get the options that were passed to the current command.
drush_register_file_for_deletion includes/filesystem.inc Any file passed in to this function will be deleted when drush exits.
drush_remote_host includes/exec.inc Determine the remote host (username@hostname.tld) for the specified site.
drush_return_status includes/preflight.inc
drush_role_add_perm commands/core/role.drush.inc Add one or more permission(s) to the specified role.
drush_role_create commands/core/role.drush.inc Create the specified role
drush_role_delete commands/core/role.drush.inc Create the specified role
drush_role_get_class commands/core/role.drush.inc Get core version specific Role handler class.
drush_role_list commands/core/role.drush.inc Displays a list of roles
drush_role_perm commands/core/role.drush.inc Implement permission add / remove operations.
drush_role_remove_perm commands/core/role.drush.inc Remove permission(s) from the specified role.
drush_rows_of_key_value_to_array_table includes/output.inc Convert an array of data rows, where each row contains an associative array of key : value pairs, into a table suitable for processing by drush_print_table. The provided $header determines the order that the items will appear in the output. Only data…
drush_sandwich_make_me_a_sandwich examples/sandwich.drush.inc Implements drush_hook_COMMAND().
drush_sandwich_make_me_a_sandwich_validate examples/sandwich.drush.inc Implements drush_hook_COMMAND_validate().
drush_sandwich_sandwiches_served examples/sandwich.drush.inc Implements drush_hook_COMMAND().
drush_sandwich_spreads_status examples/sandwich.drush.inc Implements drush_hook_COMMAND().

Pages