Functions

Contains filters are case sensitive
Name Locationsort ascending Description
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_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_get_record includes/sitealias.inc Get a site alias record given an alias name or site specification.
_drush_sitealias_get_record includes/sitealias.inc
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_alias_path includes/sitealias.inc Return the array of paths where alias files are searched for.
drush_sitealias_local_site_path includes/sitealias.inc Return the full path to the site directory of the given alias record.
_drush_sitealias_load_alias includes/sitealias.inc Check and see if an alias definition for $alias is available. If it is, load it into the list of aliases cached in the 'site-aliases' context.
drush_sitealias_load_all includes/sitealias.inc Load every alias file that can be found anywhere in the alias search path.
_drush_sitealias_find_and_load_alias includes/sitealias.inc Worker function called by _drush_sitealias_load_alias and drush_sitealias_load_all. Traverses the alias search path and finds the specified alias record.
_drush_sitealias_add_inherited_values includes/sitealias.inc Check to see if there is a 'parent' item in the alias; if there is, then load the parent alias record and overlay the entries in the current alias record on top of the items from the parent record.
_drush_sitealias_cache_alias includes/sitealias.inc Add an empty record for the specified alias name
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…
sitealias_get_databases_from_record includes/sitealias.inc Return the databases record from the alias record
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_sitealias_is_bootstrapped_site includes/sitealias.inc Check to see if we have already bootstrapped to a site.
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_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_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_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_sitelist_find_in_list includes/sitealias.inc
_drush_sitelist_check_site_records includes/sitealias.inc
_drush_sitealias_initialize_alias_record includes/sitealias.inc Initialize an alias record; called as soon as the alias record is loaded from its alias file, before it is stored in the cache.
_drush_sitealias_add_static_defaults includes/sitealias.inc Add "static" default values to the given alias record. The difference between a static default and a transient default is that static defaults -always- exist in the alias record, and they are cached, whereas transient defaults are only…
_drush_sitealias_derive_record includes/sitealias.inc
drush_sitealias_alias_record_to_spec includes/sitealias.inc Convert from an alias record to a site specification
_drush_sitealias_find_local_sites includes/sitealias.inc Search for drupal installations in the search path.
_drush_find_local_sites_at_root includes/sitealias.inc Return a list of all of the local sites at the specified drupal root.
_drush_find_local_sites_in_sites_folder includes/sitealias.inc Return a list of all of the local sites at the specified 'sites' folder.
drush_sitealias_create_sites_alias includes/sitealias.inc
_drush_sitealias_add_transient_defaults includes/sitealias.inc Add "transient" default values to the given alias record. The difference between a static default and a transient default is that static defaults -always- exist in the alias record, whereas transient defaults are only added if the given…
_drush_sitealias_find_record_for_local_site includes/sitealias.inc If '$alias' is the name of a folder in the sites folder of the given drupal root, then build an alias record for it
drush_sitealias_build_record_from_settings_file includes/sitealias.inc
drush_sitealias_site_dir_from_filename includes/sitealias.inc Pull the site directory from the path to settings.php
drush_sitealias_uri_to_site_dir includes/sitealias.inc Convert from a URI to a site directory.
drush_convert_db_from_db_url includes/sitealias.inc Convert from an old-style database URL to an array of database settings
drush_sitealias_convert_db_from_db_url includes/sitealias.inc
_drush_sitealias_set_record_element includes/sitealias.inc Utility function used by drush_get_alias; keys that start with '%' or '!' are path aliases, the rest are entries in the alias record.
_drush_sitealias_set_context_by_name includes/sitealias.inc Looks up the specified alias record and calls through to drush_sitealias_set_alias_context, below.
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_preflight_path includes/sitealias.inc
drush_sitealias_evaluate_path includes/sitealias.inc Evaluate a path from its shorthand form to a literal path usable by rsync.
drush_sitealias_site_selection_keys includes/sitealias.inc Option keys used for site selection.
_drush_bootstrap_phases includes/environment.inc Helper function listing phases.
drush_bootstrap includes/environment.inc Bootstrap Drush to the desired phase.
drush_bootstrap_validate includes/environment.inc Validate whether a bootstrap phases can be reached.
drush_bootstrap_max includes/environment.inc Bootstrap to the highest level possible, without triggering any errors.
drush_bootstrap_error includes/environment.inc Helper function to collect any errors that occur during the bootstrap process. Always returns FALSE, for convenience.
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_bootstrap_value includes/environment.inc Helper function to store any context settings that are being validated.

Pages