Functions

Contains filters are case sensitive
Namesort descending Location Description
drush_core_site_install_version commands/core/drupal/site_install.inc Install Drupal 8+
drush_core_site_install_version commands/core/drupal/site_install_7.inc Install Drupal 7
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 Command callback. 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_create_commands_from_command_instance includes/preflight.inc
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_drupal_cache_clear_all includes/drupal.inc
drush_drupal_load_autoloader includes/drupal.inc Loads the Drupal autoloader and returns the instance.
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_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_env includes/startup.inc Get the current enviornment.
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/startup.inc

Pages