Contains filters are case sensitive
Namesort ascending Location Description
drush_sql_connect commands/sql/
drush_sql_conf commands/sql/ Command callback. Displays the Drupal site's database connection string.
drush_sql_cli commands/sql/
drush_sql_build_dump_command commands/sql/
drush_site_path includes/ Like Drupal conf_path, but searching from beneath. Allows proper site uri detection in site sub-directories.
drush_sitelist_align_lists includes/ If the source and target lists contain alias records to the same sets of sites, but in different orders, this routine will re-order the lists so that they are in alignment.
drush_sitealias_uri_to_site_dir includes/ Convert from a URI to a site directory.
drush_sitealias_site_selection_keys includes/ Option keys used for site selection.
drush_sitealias_site_dir_from_filename includes/ Pull the site directory from the path to settings.php
drush_sitealias_set_alias_context includes/ Given a site alias record, copy selected fields from it into the drush 'alias' context. The 'alias' context has lower precedence than the 'options' context, so values set by an alias record can be overridden by…
drush_sitealias_resolve_sitespecs includes/ Given an array of site specifications, resolve each one in turn and return an array of alias records. If you only want a single record, it is preferable to simply call drush_sitealias_get_record directly.
drush_sitealias_resolve_sitelist includes/ Given an alias record that is a site list (contains a 'site-list' entry), resolve all of the members of the site list and return them is an array of alias records.
drush_sitealias_resolve_path_references includes/ If there are any path aliases (items beginning with "%") in the test string, then resolve them as path aliases and add them to the provided alias record.
drush_sitealias_print commands/core/ Print out the specified site aliases using the format specified.
drush_sitealias_local_site_path includes/ Return the full path to the site directory of the given alias record.
drush_sitealias_load_all includes/ Load every alias file that can be found anywhere in the alias search path.
drush_sitealias_is_bootstrapped_site includes/ Check to see if we have already bootstrapped to a site.
drush_sitealias_get_record includes/ Get a site alias record given an alias name or site specification.
drush_sitealias_evaluate_path includes/ Evaluate a path from its shorthand form to a literal path usable by rsync.
drush_sitealias_create_sites_alias includes/
drush_sitealias_convert_db_from_db_url includes/
drush_sitealias_check_lists_alignment includes/ Check to see if the uri is the same in the source and target lists for all items in the array. This is a strong requirement in D6; in D7, it is still highly convenient for the uri to be the same, because the site folder name == the uri, and if the…
drush_sitealias_check_arg includes/ Check to see if the first command-line arg or the -l option is a site alias; if it is, copy its record values to the 'alias' context.
drush_sitealias_build_record_from_settings_file includes/
drush_sitealias_alias_record_to_spec includes/ Convert from an alias record to a site specification
drush_sitealias_alias_path includes/ Return the array of paths where alias files are searched for.
drush_sitealias_add_to_alias_path includes/ Add a path to the array of paths where alias files are searched for.
drush_sitealias_add_db_url includes/ If the alias record does not contain a 'databases' or 'db-url' entry, then use backend invoke to look up the settings value from the remote or local site. The 'db_url' form is preferred; nothing is done if…
drush_sitealias_add_db_settings includes/ If the alias record does not contain a 'databases' or 'db-url' entry, then use backend invoke to look up the settings value from the remote or local site. The 'databases' form is preferred; 'db_url' will be…
drush_shutdown ./drush.php Shutdown function for use while Drupal is bootstrapping and to return any registered errors.
drush_show_help includes/ Prints out help for a given command.
drush_shell_exec_output includes/ Returns the output of the most recent shell command as an array of lines.
drush_shell_exec includes/ Executes a shell command. Output is only printed if in verbose mode. Output is stored and can be retrieved using drush_shell_exec_output(). If in simulation mode, no action is taken.
drush_set_option includes/ Set an option in one of the option contexts.
drush_set_error includes/ Set an error code for the error handling system.
drush_set_default includes/ A small helper function to set the value in the default context
drush_set_context includes/ Set a specific context.
drush_set_config_special_contexts includes/ There are certain options such as 'site-aliases' and 'command-specific' that must be merged together if defined in multiple drush configuration files. If we did not do this merge, then the last configuration file that defined any…
drush_set_config_options includes/
drush_set_command includes/ Set the command being executed.
drush_set_arguments includes/ Set the arguments passed to the drush.php script.
drush_server_home includes/
drush_scan_directory includes/ Finds all files that match a given mask in a given directory. Directories and files beginning with a period are excluded; this prevents hidden files and directories (such as SVN working directories and GIT repositories) from being scanned.
drush_save_data_to_temp_file includes/ Save a string to a temporary file. Does not depend on Drupal's API. The temporary file will be automatically deleted when drush exits.
drush_save_config includes/ Save the settings in a specific context to the applicable configuration file This is useful is you want certain settings to be available automatically the next time a command is executed.
drush_sandwich_make_me_a_sandwich_validate examples/
drush_sandwich_make_me_a_sandwich examples/ Example drush command callback. This is where the action takes place.
drush_return_status ./drush.php
drush_remote_command includes/ Process commands that are executed on a remote drush instance.
drush_register_file_for_deletion includes/ Any file passed in to this function will be deleted when drush exits.