Functions

Contains filters are case sensitive
Name Locationsort ascending Description
drush_sitealias_convert_db_from_db_url includes/sitealias.inc Convert from an old-style database URL to an array of database settings
drush_convert_db_from_db_url includes/sitealias.inc Convert from an old-style database URL to an array of database settings.
drush_sitealias_uri_to_site_dir includes/sitealias.inc Convert from a URI to a site directory.
drush_sitealias_site_dir_from_filename includes/sitealias.inc Pull the site directory from the path to settings.php
drush_sitealias_build_record_from_settings_file includes/sitealias.inc
_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_find_local_alias_name includes/sitealias.inc Find the name of a local alias record that has the specified root and uri.
_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_create_sites_alias includes/sitealias.inc
_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_find_local_sites_at_root includes/sitealias.inc Return a list of all of the local sites at the specified drupal root.
_drush_sitealias_find_local_sites includes/sitealias.inc Search for drupal installations in the search path.
drush_sitealias_alias_record_to_spec includes/sitealias.inc Convert from an alias record to a site specification
_drush_sitealias_derive_record includes/sitealias.inc
_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_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_sitelist_check_site_records includes/sitealias.inc
_drush_sitelist_find_in_list includes/sitealias.inc
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_bootstrapped_site_name includes/sitealias.inc Get the name of the current bootstrapped site
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_cache_db_settings includes/sitealias.inc
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_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.
sitealias_get_databases_from_record includes/sitealias.inc Return the databases record from the alias record
drush_sitealias_convert_databases_to_db_url includes/sitealias.inc Create a db-url from the databases record.
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_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_cache_alias includes/sitealias.inc Add an empty record for the specified alias name
_drush_sitealias_add_inherited_values_to_record includes/sitealias.inc
_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.
_sitealias_array_merge includes/sitealias.inc Merges two site aliases.
_drush_sitealias_find_and_load_alias_from_file includes/sitealias.inc
_drush_sitealias_find_and_load_alias includes/sitealias.inc Traverses the alias search path and finds the specified alias record.
_drush_sitealias_find_alias_files includes/sitealias.inc Function to find all alias files that might contain aliases that match the requested alias name.
_drush_sitealias_find_and_load_all_aliases 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_load_all includes/sitealias.inc Load every alias file that can be found anywhere in the alias search path.
_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_local_site_path includes/sitealias.inc Return the full path to the site directory of the given alias record.
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.
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_get_record includes/sitealias.inc This is a continuation of drush_sitealias_get_record, above. It is not intended to be called directly.
drush_sitealias_get_record includes/sitealias.inc Get a site alias record given an alias name or site specification.
drush_sitealias_valid_alias_format includes/sitealias.inc Returns TRUE if $alias is a valid format for an alias name.
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_simplify_names includes/sitealias.inc Given a list of alias records, shorten the name used if possible
drush_sitealias_create_self_alias includes/sitealias.inc Check to see if a '@self' record was created during bootstrap. If not, make one now.

Pages