Functions

Contains filters are case sensitive
Namesort descending Location Description
drush_copy_dir includes/filesystem.inc Copy $src to $dest.
drush_core_batch_process commands/core/core.drush.inc Process sets from the specified batch.
drush_core_call_rsync commands/core/rsync.core.inc Make a direct call to rsync after the source and destination paths have been evaluated.
drush_core_config commands/core/core.drush.inc Command callback. Edit drushrc and alias files.
drush_core_config_load commands/core/core.drush.inc
drush_core_cron commands/core/core.drush.inc Command callback. Runs all cron hooks.
drush_core_drupal_directory commands/core/core.drush.inc Command callback.
drush_core_entity_updates commands/core/core.drush.inc Command handler. Apply pending entity schema updates.
drush_core_execute commands/core/core.drush.inc Command callback. Execute specified shell code. Often used by shell aliases that start with !.
drush_core_exec_rsync commands/core/rsync.core.inc
drush_core_global_options commands/core/core.drush.inc
drush_core_help commands/core/help.drush.inc Command callback for help command. This is the default command, when none other has been specified.
drush_core_php_eval commands/core/core.drush.inc
drush_core_php_script commands/core/core.drush.inc Command callback. Runs "naked" php scripts and drush "shebang" scripts ("#!/usr/bin/env drush").
drush_core_pre_site_install commands/core/site_install.drush.inc Perform setup tasks for installation.
drush_core_quick_drupal commands/core/core.drush.inc Callback for core-quick-drupal command.
drush_core_quick_drupal_options commands/core/core.drush.inc Include options and engines for core-quick-drupal command, aggregated from other command options that are available. We prefix option descriptons, to make the long list more navigable.
drush_core_requirements commands/core/core.drush.inc Command callback. Provides information from the 'Status Reports' admin page.
drush_core_rsync commands/core/rsync.core.inc A command callback.
drush_core_rsync_init commands/core/rsync.core.inc
drush_core_runserver commands/runserver/runserver.drush.inc Callback for runserver command.
drush_core_shell_alias commands/core/shellalias.drush.inc Print out the specified shell aliases.
drush_core_site_install commands/core/site_install.drush.inc Command callback.
drush_core_site_install_validate commands/core/site_install.drush.inc Command validate.
drush_core_site_install_version commands/core/drupal/site_install_7.inc Install Drupal 7
drush_core_site_install_version commands/core/drupal/site_install_6.inc Install Drupal 6.x
drush_core_site_install_version commands/core/drupal/site_install.inc Install Drupal 8+
drush_core_status commands/core/core.drush.inc Command callback. Provides a birds-eye view of the current Drupal installation.
drush_core_twig_compile commands/core/core.drush.inc
drush_core_updatedb commands/core/core.drush.inc Command handler. Execute update.php code from drush.
drush_core_updatedb_batch_process commands/core/core.drush.inc Process outstanding updates during updatedb.
drush_core_updatedb_status commands/core/core.drush.inc Command handler. List pending DB updates.
drush_core_version commands/core/core.drush.inc Called for `drush version` or `drush --version`
drush_core_watchdog_delete commands/core/watchdog.drush.inc Command callback.
drush_core_watchdog_list commands/core/watchdog.drush.inc Command callback.
drush_core_watchdog_show commands/core/watchdog.drush.inc Command callback.
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_coverage_shutdown includes/preflight.inc Shutdown function to save code coverage data.
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.

Pages