50 calls to drush_set_context()

commandUnitCase::testCommandVersionSpecific in tests/commandUnitTest.php
Assure that matching version-specific command files are loaded and others are ignored.
drush_adjust_args_if_shebang_script in includes/command.inc
Special checking for "shebang" script handling.
drush_backend_parse_packets in includes/backend.inc
Parse out and remove backend packet from the supplied string and invoke the commands.
drush_backend_set_result in includes/backend.inc
The backend result is the original PHP data structure (usually an array) used to generate the output for the current command.
drush_bootstrap in includes/bootstrap.inc
Bootstrap Drush to the desired phase.
drush_bootstrap_error in includes/bootstrap.inc
Helper function to collect any errors that occur during the bootstrap process. Always returns FALSE, for convenience.
drush_bootstrap_finish in includes/bootstrap.inc
Cleanup our bootstrap.
drush_bootstrap_prepare in includes/bootstrap.inc
Prepare drush for bootstrap
drush_bootstrap_validate in includes/bootstrap.inc
Validate whether a bootstrap phase can be reached.
drush_clear_error in includes/drush.inc
Clear error context.
drush_complete_process_argv in includes/complete.inc
This function resets the raw arguments so that Drush can parse the command as if it was run directly. The shell complete command passes the full command line as an argument, and the --early and --complete-debug options have to come before that, and…
drush_core_php_script in commands/core/core.drush.inc
Command callback. Runs "naked" php scripts and drush "shebang" scripts ("#!/usr/bin/env drush").
drush_core_runserver in commands/runserver/runserver.drush.inc
Callback for runserver command.
drush_cwd in includes/environment.inc
Returns the current working directory.
drush_drupal_cache_clear_all in includes/drupal.inc
drush_early_complete in includes/complete.inc
Produce autocomplete output.
drush_errors_on in includes/drush.inc
Turn PHP error handling on.
drush_get_commands in includes/command.inc
Get a list of all implemented commands. This invokes hook_drush_command().
drush_parse_args in includes/command.inc
Parse console arguments.
drush_pm_enable_validate in commands/pm/pm.drush.inc
Validate callback. Determine the modules and themes that the user would like enabled.
drush_policy_updatedb_validate in examples/policy.drush.inc
Implementation of drush_hook_COMMAND_validate().
drush_preflight_backup_dir in includes/filesystem.inc
Decide where our backup directory should go
drush_preflight_command_dispatch in includes/drush.inc
Handle any command preprocessing that may need to be done, including potentially redispatching the command immediately (e.g. for remote commands).
drush_set_arguments in includes/context.inc
Set the arguments passed to the drush.php script.
drush_set_command in includes/context.inc
Set the command being executed.
drush_set_config_options in includes/context.inc
drush_shell_alias_replace in includes/command.inc
drush_shift in includes/command.inc
Pop an argument off of drush's argument list
drush_sitealias_check_arg in includes/sitealias.inc
Check to see if the first command-line arg or the -l option is a site alias; if it is, copy its record values to the 'alias' context.
drush_sitealias_check_site_env in includes/sitealias.inc
drush_sitealias_evaluate_path in includes/sitealias.inc
Evaluate a path from its shorthand form to a literal path usable by rsync.
drush_sql_register_post_sync_op in commands/sql/sql.drush.inc
Call from a pre-sql-sync hook to register an sql query to be executed in the post-sql-sync hook.
drush_ssh_site_ssh in commands/core/ssh.drush.inc
Command callback.
drush_user_abort in includes/drush.inc
Exit due to user declining a confirmation prompt.
package_handler_validate in commands/pm/package_handler/wget.inc
Validate this package handler can run.
package_handler_validate in commands/pm/package_handler/git_drupalorg.inc
Validate this package handler can run.
pm_update_project in commands/pm/updatecode.pm.inc
Update one project -- a module, theme or Drupal core.
_drush_bootstrap_base_environment in includes/bootstrap.inc
Sets up basic environment that controls where Drush looks for files on a system-wide basis. Important to call for "early" functions that need to work with unit tests.
_drush_bootstrap_do_drupal_site in includes/bootstrap.inc
Called by _drush_bootstrap_drupal_site to do the main work of the drush drupal site bootstrap.
_drush_bootstrap_drupal_configuration in includes/bootstrap.inc
Initialize and load the Drupal configuration files.
_drush_bootstrap_drupal_login in includes/bootstrap.inc
Log into the bootstrapped Drupal site with a specific username or user id.
_drush_bootstrap_drupal_root in includes/bootstrap.inc
Bootstrap Drush with a valid Drupal Directory.
_drush_bootstrap_drush in includes/bootstrap.inc
Initial Drush bootstrap phase.
_drush_bootstrap_global_options in includes/bootstrap.inc
_drush_bootstrap_output_prepare in includes/bootstrap.inc
_drush_bootstrap_select_drupal_site in includes/bootstrap.inc
Determine which Drupal site will be selected.
_drush_invoke_hooks in includes/command.inc
Invoke Drush API calls, including all hooks.
_drush_sitealias_find_and_load_all_aliases in includes/sitealias.inc
Worker function called by _drush_sitealias_load_alias and drush_sitealias_load_all. Traverses the alias search path and finds the specified alias record.
_drush_sql_drop in commands/sql/sql.drush.inc
_pm_update_core in commands/pm/updatecode.pm.inc
Update drupal core, following interactive confirmation from the user.