Functions

Contains filters are case sensitive
Namesort descending Location Description
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/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. Use raw to get an unquoted version of the…
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_extension_get_name includes/environment.inc Gets the extension name.
drush_extension_get_path includes/environment.inc Gets the extension path.
drush_extension_get_type includes/environment.inc Gets the extension type.
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
drush_field_ui_bundle_admin_path commands/core/field.drush.inc
drush_field_update commands/core/field.drush.inc
drush_filename_blacklist includes/command.inc Substrings to ignore during commandfile and site alias searching.
drush_file_append_data includes/filesystem.inc Simple helper function to append data to a given file.
drush_file_get_private includes/environment.inc Return the path to private files directory.
drush_file_get_public includes/environment.inc Return the path to public files directory.
drush_file_is_tarball includes/drush.inc Check whether a file is a supported tarball.
drush_file_not_empty includes/filesystem.inc Test to see if a file exists and is not empty
drush_find_drush includes/environment.inc Determine a proper way to call drush again
drush_find_empty_directories commands/pm/pm.drush.inc Return an array of empty directories.
drush_find_path_to_drush commands/core/init.drush.inc Determine where Drush is located, so that we can add that location to the $PATH
drush_find_profiles includes/drupal.inc
drush_find_tmp includes/filesystem.inc Returns the path to a temporary directory.

Pages