67 calls to drush_set_context()

commandUnitCase::testCommandVersionSpecific in tests/commandUnitTest.php
Assure that matching version-specific command files are loaded and others are ignored.
DrupalBoot::bootstrap_do_drupal_site in lib/Drush/Boot/DrupalBoot.php
Called by bootstrap_drupal_site to do the main work of the drush drupal site bootstrap.
DrupalBoot::bootstrap_drupal_login in lib/Drush/Boot/DrupalBoot.php
Log into the bootstrapped Drupal site with a specific username or user id.
DrupalBoot::bootstrap_drupal_root in lib/Drush/Boot/DrupalBoot.php
Bootstrap Drush with a valid Drupal Directory.
DrupalBoot::bootstrap_drupal_site_validate in lib/Drush/Boot/DrupalBoot.php
VALIDATE the DRUSH_BOOTSTRAP_DRUPAL_SITE phase.
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_validate in includes/bootstrap.inc
Validate whether a bootstrap phase can be reached.
drush_clear_error in includes/drush.inc
Clear error context.
drush_cli_core_cli in commands/core/cli.drush.inc
Command callback.
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_quick_drupal in commands/core/core.drush.inc
Callback for core-quick-drupal command.
drush_core_runserver in commands/runserver/runserver.drush.inc
Callback for runserver command.
drush_core_site_install_validate in commands/core/site_install.drush.inc
Command validate.
drush_cwd in includes/environment.inc
Returns the current working directory.
drush_early_complete in includes/complete.inc
Produce autocomplete output.
drush_errors_on in includes/drush.inc
Turn PHP error handling on.
drush_hide_output_fields in commands/core/outputformat.drush.inc
Specify that certain fields should not appear in the resulting output.
drush_latch_bootstrap_object in includes/bootstrap.inc
Don't allow the bootstrap object to change once we start bootstrapping
drush_load_command_engine in includes/engines.inc
Selects and loads an engine implementing the given type.
drush_main in includes/preflight.inc
The main Drush function.
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
Implements drush_hook_COMMAND_validate().
drush_postflight in includes/preflight.inc
We set this context to let the shutdown function know we reached the end of drush_main().
drush_preflight_backup_dir in includes/filesystem.inc
Decide where our backup directory should go
drush_preflight_command_dispatch in 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 in includes/preflight.inc
Prepare Drush for preflight.
drush_preflight_root in includes/preflight.inc
If --root is provided, set context.
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_set_engine in includes/engines.inc
Called by the Drush command (to cache the active engine instance.
drush_shell_alias_replace in includes/command.inc
Check if a shell alias exists for current request. If so, re-route to core-execute and pass alias value along with rest of CLI arguments.
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_arg_and_site_set in includes/sitealias.inc
Check to see if the user specified an alias in an arguement, or via site-set. If so, return the name of the alias.
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.
Sqlmysql::db_exists in lib/Drush/Sql/Sqlmysql.php
Sqlmysql::listTables in lib/Drush/Sql/Sqlmysql.php
Extract the name of all existing tables in the given database.
tablesUnitTest::tearDown in tests/tablesUnitTest.php
tablesUnitTest::testFormatAutoWidths in tests/tablesUnitTest.php
Tests drush_format_table() at various table widths with automatic column sizing.
tablesUnitTest::testFormatTableHeader in tests/tablesUnitTest.php
Tests drush_format_table() with a header.
tablesUnitTest::testFormatTableWordWrap in tests/tablesUnitTest.php
Tests drush_format_table() with word wrapping.
tablesUnitTest::testFormatWidths in tests/tablesUnitTest.php
Tests drush_format_table() at various table widths.
_core_site_credentials in commands/core/core.drush.inc
_drush_bootstrap_output_prepare in includes/bootstrap.inc
_drush_bootstrap_selected_uri in includes/bootstrap.inc
Find the URI that has been selected by the cwd if it was not previously set via the --uri / -l option
_drush_create_default_logger in includes/drush.inc
Future: add some sort of dependency injection to Drush.
_drush_invoke_hooks in includes/command.inc
Invoke Drush API calls, including all hooks.
_drush_preflight_base_environment in includes/preflight.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_preflight_columns in includes/preflight.inc
_drush_preflight_global_options in includes/preflight.inc
_drush_preflight_uri in includes/preflight.inc
If --uri is provided, set context.
_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.
_pm_update_core in commands/pm/updatecode.pm.inc
Update drupal core, following interactive confirmation from the user.