Contains filters are case sensitive
Namesort descending Location Description
drush_db_result includes/ A db_result() that works consistently for any version of Drupal.
drush_db_select includes/ A db_select() that works for any version of Drupal.
drush_delete_dir includes/ Deletes the provided file or folder and everything inside it.
drush_die includes/ Exits with a message. In general, you should use drush_set_error() instead of this function. That lets drush proceed with other tasks. TODO: Exit with a correct status code.
drush_directory_cache includes/
drush_dispatch includes/ Given a command record, dispatch it as if it were the original command. Executes in the currently bootstrapped site using the current option contexts. Note that drush_dispatch will not bootstrap any further than the current command has already…
drush_docs_errorcodes commands/core/ docs-error-codes command. Print a list of all error codes that can be found.
drush_download_file includes/ Download a file using wget, curl or file_get_contents, or via download cache.
drush_do_command_redispatch includes/ Redispatch the specified command using the same options that were passed to this invocation of drush.
drush_do_multiple_command includes/ Used by functions that operate on lists of sites, moving information from the source to the destination. Currenlty this includes 'drush rsync' and 'drush sql sync'.
drush_do_site_command includes/ Run a command on the site specified by the provided command record.
drush_drupal_cache_clear_all includes/
drush_drupal_login ./drush.php Log the given user in to a bootstrapped Drupal site.
drush_drupal_major_version includes/ Returns the Drupal major version number (5, 6, 7 ...)
drush_drupal_required_modules includes/
drush_drupal_version includes/ Detects the version number of the current Drupal installation, if any. Returns FALSE if there is no current Drupal installation, or it is somehow broken.
drush_enforce_requirement_bootstrap_phase includes/ Check that a command is valid for the current bootstrap phase.
drush_enforce_requirement_core includes/ Check that a command is valid for the current major version of core. Handles explicit version numbers and 'plus' numbers like 6+ (compatible with 6, 7 ...).
drush_enforce_requirement_drupal_dependencies includes/ Check that a command has its declared dependencies available or have no dependencies.
drush_enforce_requirement_drush_dependencies includes/ Check that a command has its declared drush dependencies available or have no dependencies. Drush dependencies are helpful when a command is invoking another command, or implementing its API.
drush_environment_check_os includes/
drush_environment_table_inc includes/
drush_errors_off includes/ Turn PHP error handling off.
drush_errors_on includes/ Turn PHP error handling on.
drush_error_handler includes/ Log PHP errors to the Drush log. This is in effect until Drupal's error handler takes over.
drush_escapeshellarg includes/ Platform-independent version of escapeshellarg(). This only works for local commands. TODO: Make a unified drush_escapeshellarg that works on Linux and Windows.
drush_export_info includes/ Generate code friendly to the Drupal .info format from a structured array. Mostly copied from
drush_export_ini includes/ Generate an .ini file. used by archive-dump."
drush_extension_check_incompatibility includes/ Test compatibility of a extension with version of drupal core and php.
drush_field_clone commands/core/
drush_field_create commands/core/
drush_field_create_wizard commands/core/ Prompt user enough to create basic field and instance.
drush_field_delete commands/core/
drush_field_get_entity_from_bundle commands/core/
drush_field_info commands/core/
drush_field_ui_bundle_admin_path commands/core/
drush_field_update commands/core/
drush_filename_blacklist includes/ Substrings to ignore during commandfile searching.
drush_file_not_empty includes/ Test to see if a file exists and is not empty
drush_find_drush includes/ Determine a proper way to call drush again
drush_find_empty_directories commands/pm/ Return an array of empty directories.
drush_find_tmp includes/ Returns the path to a temporary directory.
drush_format_help_section includes/ Format one named help section from a command record
drush_format_size includes/
drush_get_arguments includes/ Get the arguments passed to the drush.php script.
drush_get_command includes/ Return the command being executed.
drush_get_commandfile_for_command includes/ Get the short commandfile name that matches the command.
drush_get_commands includes/ Get a list of all implemented commands. This invokes hook_drush_command().
drush_get_context includes/ Return a specific context, or the whole context cache
drush_get_context_options includes/ Get all of the values for an option in every context.