175 calls to drush_set_error()

BaseBoot::report_command_error in lib/Drush/Boot/BaseBoot.php
Called by Drush if a command is not found, or if the command was found, but did not meet requirements.
core_watchdog_query in commands/core/watchdog.drush.inc
Build a WHERE snippet based on given parameters.
DrupalBoot8::bootstrap_drupal_root_validate in lib/Drush/Boot/DrupalBoot8.php
Validate the DRUSH_BOOTSTRAP_DRUPAL_ROOT phase.
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_validate in lib/Drush/Boot/DrupalBoot.php
Validate the DRUSH_BOOTSTRAP_DRUPAL_ROOT phase.
DrushBatchContext::offsetSet in includes/batch.inc
DrushMakeProject::findDownloadLocation in commands/make/make.project.inc
Determine the location to download project to.
DrushMakeProject_Core::findDownloadLocation in commands/make/make.project.inc
Determine the location to download project to.
drush_archive_dump in commands/core/archive.drush.inc
Command callback. Generate site archive file.
drush_archive_restore in commands/core/archive.drush.inc
Command callback. Restore web site(s) from a site archive file.
drush_backend_packet_set_error in includes/backend.inc
Backend command for setting errors.
drush_bootstrap in includes/bootstrap.inc
Bootstrap Drush to the desired phase.
drush_browse in commands/core/browse.drush.inc
Command callback.
drush_cache_clear_pre_validate in commands/core/cache.drush.inc
drush_cache_command_get in commands/core/cache.drush.inc
Print an object returned from the cache.
drush_cache_set_prepare_data in commands/core/cache.drush.inc
drush_config_edit in commands/core/config.drush.inc
Edit command callback.
drush_config_export in commands/core/config.drush.inc
Command callback: Export config to specified directory (usually staging).
drush_config_export_validate in commands/core/config.drush.inc
drush_config_get_object in commands/core/config.drush.inc
Show and return a config object
drush_config_get_value in commands/core/config.drush.inc
Show and return a value from config system.
drush_config_import_validate in commands/core/config.drush.inc
drush_config_list in commands/core/config.drush.inc
Config list command callback
drush_config_merge in commands/core/config.drush.inc
drush_config_set in commands/core/config.drush.inc
Config set command callback.
drush_copy_dir in includes/filesystem.inc
Copy $src to $dest.
drush_core_cron in commands/core/core.drush.inc
Command callback. Runs all cron hooks.
drush_core_drupal_directory in commands/core/core.drush.inc
Command callback.
drush_core_execute in commands/core/core.drush.inc
Command callback. Execute specified shell code. Often used by shell aliases that start with !.
drush_core_exec_rsync in commands/core/rsync.core.inc
drush_core_help in commands/core/help.drush.inc
Command callback for help command. This is the default command, when none other has been specified.
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_pre_site_install in commands/core/site_install.drush.inc
Perform setup tasks for installation.
drush_core_quick_drupal in commands/core/core.drush.inc
Callback for core-quick-drupal command.
drush_core_rsync in commands/core/rsync.core.inc
A command callback.
drush_core_watchdog_delete in commands/core/watchdog.drush.inc
Command callback.
drush_core_watchdog_show_one in commands/core/watchdog.drush.inc
Print a watchdog message.
drush_directory_cache in includes/environment.inc
The path to the global cache directory.
drush_engine_topic_command in includes/engines.inc
Implementation of command hook for docs-output-formats
drush_field_clone in commands/core/field.drush.inc
drush_field_info in commands/core/field.drush.inc
drush_file_append_data in includes/filesystem.inc
Simple helper function to append data to a given file.
drush_find_tmp in includes/filesystem.inc
Returns the path to a temporary directory.
drush_format in includes/output.inc
Prepares a variable for printing. Loads the requested output formatter and uses it to process the provided input.
drush_get_class in includes/drush.inc
drush_get_engines in includes/engines.inc
Return a structured array of engines of a specific type.
drush_handle_command_output in includes/command.inc
Convert the structured output array provided from the Drush command into formatted output. Output is only printed for commands that define 'default-format' &/or 'default-pipe-format'; all other commands are expected to do…
drush_image_derive_validate in commands/core/image.drush.inc
drush_image_flush_pre_validate in commands/core/image.drush.inc
drush_include in includes/drush.inc
Include a file, selecting a version specific file if available.
drush_include_engine in includes/engines.inc
Include the engine code for a specific named engine of a certain type.
drush_invoke in includes/command.inc
Invokes a Drush API call, including all hooks.
drush_key_value_to_array_table in includes/output.inc
Convert an associative array of key : value pairs into a table suitable for processing by drush_print_table.
drush_load_engine in includes/engines.inc
Loads and validate an engine of the given type.
drush_make_process in commands/make/make.drush.inc
Drush callback: hidden file to process an individual project.
drush_make_validate in commands/make/make.drush.inc
Validation callback for make command.
drush_migrate_manifest in commands/core/migrate.d8.drush.inc
Import from a manifest file.
drush_mime_content_type in includes/drush.inc
Determines the MIME content type of the specified file.
drush_mkdir in includes/filesystem.inc
Cross-platform compatible helper function to recursively create a directory tree.
drush_module_disable in commands/core/drupal/environment.inc
Disable a list of modules. It is assumed the list contains all dependents not already disabled.
drush_move_dir in includes/filesystem.inc
Move $src to $dest.
drush_notify_send_audio in commands/core/notify.drush.inc
Send an audio-based system notification.
drush_notify_send_text in commands/core/notify.drush.inc
Send text-based system notification.
drush_outputformat::format_error in commands/core/outputformat.drush.inc
drush_outputformat_list::validate in commands/core/outputformat/list.inc
drush_pm_download in commands/pm/download.pm.inc
Command callback. Download Drupal core or any project.
drush_pm_download_validate in commands/pm/download.pm.inc
Implements drush_hook_COMMAND_validate().
drush_pm_enable in commands/pm/pm.drush.inc
Command callback. Enable one or more extensions from downloaded projects. Note that the modules and themes to be enabled were evaluated during the pm-enable validate hook, above.
drush_pm_enable_validate in commands/pm/pm.drush.inc
Validate callback. Determine the modules and themes that the user would like enabled.
drush_pm_include_version_control in commands/pm/pm.drush.inc
A simple factory function that tests for version control systems, in a user specified order, and returns the one that appears to be appropriate for a specific directory.
drush_pm_list in commands/pm/pm.drush.inc
Command callback. Show a list of extensions with type and status.
drush_pm_updatecode in commands/pm/updatecode.pm.inc
Command callback. Displays update status info and allows to update installed projects.
drush_pm_updatecode_validate in commands/pm/pm.drush.inc
Validate callback for updatecode command. Abort if 'backup' directory exists.
drush_policy_make_me_a_sandwich_validate in examples/policy.drush.inc
Implements drush_hook_COMMAND_validate().
drush_policy_sql_sync_validate in examples/policy.drush.inc
Implements drush_hook_COMMAND_validate().
drush_preflight in 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_prepare in includes/preflight.inc
Prepare Drush for preflight.
drush_prepare_backup_dir in includes/filesystem.inc
Prepare a backup directory
drush_queue_run_validate in commands/core/queue.drush.inc
Validation callback for drush queue-run.
drush_role_list in commands/core/role.drush.inc
Displays a list of roles
drush_role_perm in commands/core/role.drush.inc
Implement permission add / remove operations.
drush_sandwich_make_me_a_sandwich_validate in examples/sandwich.drush.inc
Implements drush_hook_COMMAND_validate().
drush_save_config in 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_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_show_help in commands/core/help.drush.inc
Prints out help for a given command.
drush_shutdown in includes/preflight.inc
Shutdown function for use while Drush and Drupal are bootstrapping and to return any registered errors.
drush_sitealias_evaluate_path in includes/sitealias.inc
Evaluate a path from its shorthand form to a literal path usable by rsync.
drush_sitealias_is_remote_site in includes/sitealias.inc
Determines whether a given site alias is for a remote site.
drush_sitealias_site_set in commands/core/sitealias.drush.inc
Set the DRUPAL_SITE variable by writing it out to a temporary file that we then source for persistent site switching.
drush_sitealias_site_set_validate in commands/core/sitealias.drush.inc
Validation callback for drush site-set.
drush_sqlsync_sql_sync in commands/sql/sqlsync.drush.inc
drush_sqlsync_sql_sync_validate in commands/sql/sqlsync.drush.inc
drush_sql_query in commands/sql/sql.drush.inc
Command callback. Executes the given SQL query on the Drupal database.
drush_ssh_site_ssh in commands/core/ssh.drush.inc
Command callback.
drush_state_set in commands/core/state.drush.inc
State set command callback.
drush_sync_via_http_pre_sql_sync in examples/sync_via_http.drush.inc
Implements drush_hook_pre_COMMAND().
drush_tarball_extract in includes/drush.inc
Extract a tarball.
drush_theme_disable in commands/core/drupal/environment.inc
Disable a list of themes.
drush_topic_core_topic in commands/core/topic.drush.inc
A command callback.
drush_unit_post_unit_invoke in tests/unit.drush.inc
drush_update_do_one in commands/core/drupal/update.inc
Perform one update and store the results which will later be displayed on the finished page.
drush_update_do_one in commands/core/drupal/update_7.inc
Perform one update and store the results which will later be displayed on the finished page.
drush_usage_send in commands/core/usage.drush.inc
Set option to send usage to Mongolab.
drush_usage_show in commands/core/usage.drush.inc
Displays usage file.
drush_user_create in commands/user/user.drush.inc
Creates a new user account.
drush_user_create_validate in commands/user/user.drush.inc
drush_user_login in commands/user/user.drush.inc
Displays a one time login link for the given user.
drush_variable_get in commands/core/variable.drush.inc
Command callback. List your site's variables.
drush_variable_set in commands/core/variable.drush.inc
Command callback. Set a variable.
drush_version_control_backup::pre_update in commands/pm/version_control/backup.inc
Implementation of pre_update().
drush_version_control_backup::rollback in commands/pm/version_control/backup.inc
Implementation of rollback().
drush_version_control_bzr::commit in commands/pm/version_control/bzr.inc
Automatically commit changes to the repository
drush_version_control_bzr::pre_update in commands/pm/version_control/bzr.inc
Implementation of pre_update().
drush_version_control_bzr::rollback in commands/pm/version_control/bzr.inc
Implementation of rollback().
drush_version_control_bzr::sync in commands/pm/version_control/bzr.inc
Automatically add any unversioned files to Bazaar and remove any files that have been deleted on the file system
drush_version_control_svn::commit in commands/pm/version_control/svn.inc
Automatically commit changes to the repository
drush_version_control_svn::pre_update in commands/pm/version_control/svn.inc
Implementation of pre_update().
drush_version_control_svn::rollback in commands/pm/version_control/svn.inc
Implementation of rollback().
drush_version_control_svn::sync in commands/pm/version_control/svn.inc
Automatically add any unversioned files to Subversion and remove any files that have been deleted on the file system
drush_views_analyze in commands/core/views.d8.drush.inc
Drush views analyze command.
drush_views_execute in commands/core/views.d8.drush.inc
Drush views execute command.
drush_views_list in commands/core/views.d8.drush.inc
Callback function for views-list command.
drush_xkcd_display in examples/xkcd.drush.inc
Display a given XKCD cartoon.
drush_xkcd_fetch in examples/xkcd.drush.inc
Implements drush_hook_COMMAND().
make_build_path in commands/make/make.drush.inc
The path where the final build will be placed.
make_download_file_unpack in commands/make/make.download.inc
Unpacks a file to the specified download location.
make_error in commands/make/make.utilities.inc
Logs an error unless the --force-complete command line option is specified.
make_move_build in commands/make/make.drush.inc
Move the completed build into place.
make_prepare_projects in commands/make/make.drush.inc
Gather additional data on all projects specified in the make file.
package_handler_download_project in commands/pm/package_handler/wget.inc
Download a project.
package_handler_download_project in commands/pm/package_handler/git_drupalorg.inc
Download a project.
package_handler_post_download in commands/pm/package_handler/git_drupalorg.inc
Post download action.
package_handler_update_project in commands/pm/package_handler/git_drupalorg.inc
Update a project (so far, only modules are supported).
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_packages in commands/pm/updatecode.pm.inc
Update projects according to an array of releases and print the release notes for each project, following interactive confirmation from the user.
pm_update_project in commands/pm/updatecode.pm.inc
Update one project -- a module, theme or Drupal core.
Project::getInstance in lib/Drush/UpdateService/Project.php
Downloads release info xml from update service.
Project::__construct in lib/Drush/UpdateService/Project.php
Constructor.
Queue7::run in lib/Drush/Queue/Queue7.php
Runs a given queue.
Queue8::run in lib/Drush/Queue/Queue8.php
Runs a given queue.
ReleaseInfo::selectReleaseBasedOnStrategy in lib/Drush/UpdateService/ReleaseInfo.php
Select the most appropriate release for a project, based on a strategy.
runserver_parse_uri in commands/runserver/runserver.drush.inc
Parse a URI or partial URI (including just a port, host IP or path).
SqlBase::dump in lib/Drush/Sql/SqlBase.php
SqlBase::query in lib/Drush/Sql/SqlBase.php
Execute a SQL query.
updatedb_status in commands/core/drupal/update_6.inc
Return a 2 item array with
xh_enabled in commands/xh.drush.inc
_drush_backend_integrate in includes/backend.inc
Integrate log messages and error statuses into the current process.
_drush_backend_invoke in includes/backend.inc
Create a new pipe with proc_open, and attempt to parse the output.
_drush_cm_commit_transmitted_configuration_changes in commands/core/config.drush.inc
_drush_cm_copy_remote_configuration_via_git in commands/core/config.drush.inc
_drush_cm_copy_remote_configuration_via_rsync in commands/core/config.drush.inc
_drush_cm_export_local_configuration in commands/core/config.drush.inc
_drush_cm_export_remote_configuration_before_merge in commands/core/config.drush.inc
_drush_cm_get_initial_vcs_state in commands/core/config.drush.inc
_drush_cm_merge_local_and_remote_configurations in commands/core/config.drush.inc
_drush_cm_merge_to_original_branch in commands/core/config.drush.inc
_drush_cm_prepare_for_export in commands/core/config.drush.inc
_drush_cm_prepare_for_local_configuration_export in commands/core/config.drush.inc
_drush_config_export in commands/core/config.drush.inc
_drush_config_import in commands/core/config.drush.inc
_drush_core_directory in commands/core/core.drush.inc
Given a target (e.g. @site:%modules), return the evaluated directory path.
_drush_invoke_hooks in includes/command.inc
Invoke Drush API calls, including all hooks.
_drush_log_drupal_messages in includes/drush.inc
Turn drupal_set_message errors into drush_log errors
_drush_log_update_sql in includes/drupal.inc
Log the return value of Drupal hook_update_n functions.
_drush_pm_disable in commands/core/drupal/pm.inc
Command callback. Disable one or more extensions.
_drush_postmortem in includes/environment.inc
Evalute the environment after an abnormal termination and see if we can determine any configuration settings that the user might want to adjust.
_drush_sitealias_user_specified_list in commands/core/sitealias.drush.inc
Return the list of site aliases (remote or local) that the user specified on the command line. If none were specified, then all are returned.
_drush_site_install6_stage in commands/core/drupal/site_install_6.inc
Submit a given op to install.php; if a meta "Refresh" tag is returned in the result, then submit that op as well.
_drush_verify_cli_arguments in includes/command.inc
_drush_verify_cli_options in includes/command.inc
Fail with an error if the user specified options on the command line that are not documented in the current command record. Also verify that required options are present.
_make_determine_format in commands/make/make.utilities.inc
Given data from stdin, determine format.
_make_parse_info_file in commands/make/make.utilities.inc
Parse makefile recursively.
_pm_update_core in commands/pm/updatecode.pm.inc
Update drupal core, following interactive confirmation from the user.
_views_drush_op in commands/core/views.d8.drush.inc
Perform operations on view objects.