Functions

Contains filters are case sensitive
Namesort ascending Location Description
drush_sql_bootstrap_further commands/sql/sql.drush.inc Check whether further bootstrap is needed. If so, do it.
drush_sql_bootstrap_database_configuration commands/sql/sql.drush.inc Safely bootstrap Drupal to the point where we can access the database configuration.
drush_sqlsync_sql_sync_validate commands/sql/sqlsync.drush.inc
drush_sqlsync_sql_sync commands/sql/sqlsync.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_site_dir_lookup_from_hostname includes/environment.inc Lookup a site's directory via the sites.php file given a hostname.
drush_sitealias_valid_alias_format includes/sitealias.inc Returns TRUE if $alias is a valid format for an alias name.
drush_sitealias_uri_to_site_dir includes/sitealias.inc Convert from a URI to a site directory.
drush_sitealias_site_set_validate commands/core/sitealias.drush.inc Validation callback for drush site-set.
drush_sitealias_site_set commands/core/sitealias.drush.inc Set the DRUPAL_SITE variable by writing it out to a temporary file that we then source for persistent site switching.
drush_sitealias_site_selection_keys includes/sitealias.inc Option keys used for site selection.
drush_sitealias_site_get includes/sitealias.inc Read the tmp file where the persistent site setting is stored.
drush_sitealias_site_dir_from_filename includes/sitealias.inc Pull the site directory from the path to settings.php
drush_sitealias_simplify_names includes/sitealias.inc Given a list of alias records, shorten the name used if possible
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 'cli' 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_quick_lookup_cached_alias_by_path includes/sitealias.inc Look for a cached alias that points to the specified site directory. Nothing is returned if there is no matching cached alias.
drush_sitealias_print commands/core/sitealias.drush.inc Print out the specified site aliases (or else all) using the format specified.
drush_sitealias_overlay_options includes/sitealias.inc Given an alias record, overwrite its values with options from the command line and other drush contexts as specified by the provided prefix. For example, if the prefix is 'source-', then any option 'source-foo' will set the value…
drush_sitealias_lookup_alias_by_path includes/sitealias.inc Look for a defined alias that points to the specified site directory. The cache is tested first; if nothing is cached, then an exhaustive search is done for the specified site. If the exhaustive search returns a match, then it is cached.
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_remote_site includes/sitealias.inc Determines whether a given site alias is for a remote site.
drush_sitealias_is_bootstrapped_site includes/sitealias.inc Check to see if we have already bootstrapped to a site.
drush_sitealias_get_root includes/sitealias.inc Return the site root, if there is one in the record.
drush_sitealias_get_record includes/sitealias.inc Get a site alias record given an alias name or site specification.
drush_sitealias_get_path_option includes/sitealias.inc First return an option set via drush_sitealias_overlay_options, if any, then fall back on "%" . $option from the path aliases.
drush_sitealias_get_option includes/context.inc Get an option out of the specified alias. If it has not been set in the alias, then get it via drush_get_option.
drush_sitealias_get_envar_filename includes/sitealias.inc Returns the filename for the file that stores the DRUPAL_SITE variable.
drush_sitealias_get_db_spec includes/sitealias.inc Return the $db_spec record for the database associated with the provided alias record. which will be used to first add the database information to the alias records, invoking sql-conf to look them up if necessary.
drush_sitealias_evaluate_paths_in_options includes/sitealias.inc Given a properly-escaped options string, replace any occurance of %files and so on embedded inside it with its corresponding path.
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_create_self_alias includes/sitealias.inc Check to see if a '@self' record was created during bootstrap. If not, make one now.
drush_sitealias_convert_db_spec_to_db_url includes/sitealias.inc Drush still accepts --db-url format database specifications as cli parameters; it is therefore useful to be able to convert from a database record back to a db-url sometimes.
drush_sitealias_convert_db_from_db_url includes/sitealias.inc Convert from an old-style database URL to an array of database settings
drush_sitealias_convert_databases_to_db_url includes/sitealias.inc Create a db-url from the databases record.
drush_sitealias_command_default_options includes/command.inc
drush_sitealias_check_site_env includes/sitealias.inc
drush_sitealias_check_arg_and_site_set includes/sitealias.inc Check to see if the user specified an alias in an arguement, or via site-set. If so, return the name of the alias.
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_cache_db_settings includes/sitealias.inc
drush_sitealias_cache_alias_by_path includes/sitealias.inc Cache the specified alias in the alias path cache. The alias path cache creates a lookup from the site folder (/path/to/drupal/sites/default) to the provided alias record.
drush_sitealias_build_record_from_settings_file includes/sitealias.inc
drush_sitealias_bootstrapped_site_name includes/sitealias.inc Get the name of the current bootstrapped site
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_alias_base_directory includes/sitealias.inc If there is a directory 'site-aliases' in the specified search location, then search ONLY in that directory for aliases. Otherwise, search anywhere inside the specified directory for aliases.

Pages