function _drush_sitealias_add_inherited_values

8.0.x _drush_sitealias_add_inherited_values(&$aliases)
6.x _drush_sitealias_add_inherited_values(&$aliases)
7.x _drush_sitealias_add_inherited_values(&$aliases)
3.x _drush_sitealias_add_inherited_values(&$aliases)
4.x _drush_sitealias_add_inherited_values(&$aliases)
5.x _drush_sitealias_add_inherited_values(&$aliases)
master _drush_sitealias_add_inherited_values(&$aliases)

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.


$aliases: An array of alias records that are modified in-place.

2 calls to _drush_sitealias_add_inherited_values()
drush_sitealias_load_all in includes/
Load every alias file that can be found anywhere in the alias search path.
_drush_sitealias_load_alias in includes/
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.


includes/, line 794
The site alias API.


function _drush_sitealias_add_inherited_values(&$aliases) {
  foreach ($aliases as $alias_name => $alias_value) {
    // Prevent circular references from causing an infinite loop
    _drush_sitealias_cache_alias("@$alias_name", array());
    $aliases[$alias_name] = $alias_value;