Functions

Contains filters are case sensitive
Namesort descending Location Description
drush_core_watchdog_show_many commands/core/watchdog.drush.inc Print a table of watchdog messages.
drush_core_watchdog_show_one commands/core/watchdog.drush.inc Print a watchdog message.
drush_correct_absolute_path_for_exec includes/filesystem.inc If we are going to pass a path to exec or proc_open, then we need to fix it up under CYGWIN or MINGW. In both of these environments, PHP works with absolute paths such as "C:\path". CYGWIN expects these to be converted to…
drush_cwd includes/environment.inc Returns the current working directory.
drush_db_delete includes/dbtng.inc A db_delete() that works for any version of Drupal.
drush_db_fetch_object includes/dbtng.inc A db_fetch_object() that works for any version of Drupal.
drush_db_result includes/dbtng.inc A db_result() that works consistently for any version of Drupal.
drush_db_select includes/dbtng.inc A db_select() that works for any version of Drupal.
drush_delete_dir includes/filesystem.inc Deletes the specified file or directory and everything inside it.
drush_delete_dir_contents includes/filesystem.inc Deletes the contents of a directory.
drush_delete_tmp_dir includes/filesystem.inc Deletes the provided file or folder and everything inside it. This function explicitely tries to delete read-only files / folders.
drush_die includes/drush.inc 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/environment.inc The path to the global cache directory.
drush_dir_md5 includes/filesystem.inc Calculates a single md5 hash for all files a directory (incuding subdirectories)
drush_dispatch includes/command.inc 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.drush.inc docs-errorcodes command. Print a list of all error codes that can be found.
drush_download_file includes/drush.inc Download a file using wget, curl or file_get_contents, or via download cache.
drush_download_file_name includes/drush.inc Helper function to determine name of cached file.
drush_do_command_redispatch includes/drush.inc Redispatch the specified command using the same options that were passed to this invocation of drush.
drush_do_multiple_command includes/drush.inc 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_drupal_cache_clear_all includes/drupal.inc
drush_drupal_login includes/drupal.inc Log the given user in to a bootstrapped Drupal site.
drush_drupal_major_version includes/drupal.inc Returns the Drupal major version number (6, 7, 8 ...)
drush_drupal_parse_info_file includes/drupal.inc Parse Drupal info file format.
drush_drupal_required_modules includes/environment.inc
drush_drupal_sitewide_directory includes/environment.inc Returns the sitewide Drupal directory for extensions.
drush_drupal_version includes/drupal.inc 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_early_complete includes/complete.inc Produce autocomplete output.
drush_enforce_requirement_bootstrap_phase includes/command.inc Check that a command is valid for the current bootstrap phase.
drush_enforce_requirement_core includes/command.inc Check that a command is valid for the current major version of core. Handles explicit version numbers and 'plus' numbers like 7+ (compatible with 7,8 ...).
drush_enforce_requirement_drupal_dependencies includes/command.inc Check that a command has its declared dependencies available or have no dependencies.
drush_enforce_requirement_drush_dependencies includes/command.inc 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_engine_add_help_topics includes/engines.inc Add engine topics to the command topics, if any.
drush_engine_topic_command includes/engines.inc Implementation of command hook for docs-output-formats
drush_environment_lib includes/environment.inc Check for the existence of the specified lib directory, and create if needed.
drush_environment_table_lib includes/environment.inc
drush_errors_off includes/drush.inc Turn PHP error handling off.
drush_errors_on includes/drush.inc Turn PHP error handling on.
drush_error_handler includes/environment.inc Log PHP errors to the Drush log. This is in effect until Drupal's error handler takes over.
drush_escapeshellarg includes/exec.inc Platform-dependent version of escapeshellarg(). Given the target platform, return an appropriately-escaped string. The target platform may be omitted for args that are /known/ to be for the local machine.
drush_expand_short_form_options includes/context.inc For all global options with a short form, convert all options in the option array that use the short form into the long form.
drush_export_info includes/drush.inc Generate code friendly to the Drupal .info format from a structured array. Mostly copied from http://drupalcode.org/viewvc/drupal/contributions/modules/features/featu....
drush_export_ini includes/drush.inc Generate an .ini file. used by archive-dump."
drush_extension_check_incompatibility includes/environment.inc Test compatibility of a extension with version of drupal core and php.
drush_field_clone commands/core/field.drush.inc
drush_field_create commands/core/field.drush.inc
drush_field_create_wizard commands/core/field.drush.inc Prompt user enough to create basic field and instance.
drush_field_delete commands/core/field.drush.inc
drush_field_get_entity_from_bundle commands/core/field.drush.inc
drush_field_info commands/core/field.drush.inc

Pages