Functions

Contains filters are case sensitive
Namesort ascending Location Description
drush_sql_connect commands/sql/sql.drush.inc
drush_sql_conf commands/sql/sql.drush.inc Command callback. Displays the Drupal site's database connection string.
drush_sql_cli commands/sql/sql.drush.inc
drush_sql_build_dump_command commands/sql/sql.drush.inc
drush_site_path includes/environment.inc Like Drupal conf_path, but searching from beneath. Allows proper site uri detection in site sub-directories.
drush_sitelist_align_lists includes/sitealias.inc 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/sitealias.inc Convert from a URI to a site directory.
drush_sitealias_site_selection_keys includes/sitealias.inc Option keys used for site selection.
drush_sitealias_site_dir_from_filename includes/sitealias.inc Pull the site directory from the path to settings.php
drush_sitealias_set_alias_context includes/sitealias.inc 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/sitealias.inc 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/sitealias.inc 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/sitealias.inc 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/sitealias.drush.inc Print out the specified site aliases using the format specified.
drush_sitealias_local_site_path includes/sitealias.inc Return the full path to the site directory of the given alias record.
drush_sitealias_load_all includes/sitealias.inc Load every alias file that can be found anywhere in the alias search path.
drush_sitealias_is_bootstrapped_site includes/sitealias.inc Check to see if we have already bootstrapped to a site.
drush_sitealias_get_record includes/sitealias.inc Get a site alias record given an alias name or site specification.
drush_sitealias_evaluate_path includes/sitealias.inc Evaluate a path from its shorthand form to a literal path usable by rsync.
drush_sitealias_create_sites_alias includes/sitealias.inc
drush_sitealias_convert_db_from_db_url includes/sitealias.inc
drush_sitealias_check_lists_alignment includes/sitealias.inc 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/sitealias.inc 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/sitealias.inc
drush_sitealias_alias_record_to_spec includes/sitealias.inc Convert from an alias record to a site specification
drush_sitealias_alias_path includes/sitealias.inc Return the array of paths where alias files are searched for.
drush_sitealias_add_to_alias_path includes/sitealias.inc Add a path to the array of paths where alias files are searched for.
drush_sitealias_add_db_url includes/sitealias.inc 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/sitealias.inc 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/drush.inc Prints out help for a given command.
drush_shell_exec_output includes/drush.inc Returns the output of the most recent shell command as an array of lines.
drush_shell_exec includes/drush.inc 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/context.inc Set an option in one of the option contexts.
drush_set_error includes/drush.inc Set an error code for the error handling system.
drush_set_default includes/context.inc A small helper function to set the value in the default context
drush_set_context includes/context.inc Set a specific context.
drush_set_config_special_contexts includes/context.inc 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/context.inc
drush_set_command includes/context.inc Set the command being executed.
drush_set_arguments includes/context.inc Set the arguments passed to the drush.php script.
drush_server_home includes/environment.inc
drush_scan_directory includes/command.inc 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/drush.inc 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/context.inc 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/sandwich.drush.inc
drush_sandwich_make_me_a_sandwich examples/sandwich.drush.inc Example drush command callback. This is where the action takes place.
drush_return_status ./drush.php
drush_remote_command includes/drush.inc Process commands that are executed on a remote drush instance.
drush_register_file_for_deletion includes/drush.inc Any file passed in to this function will be deleted when drush exits.

Pages