function drush_sitealias_overlay_options

8.0.x drush_sitealias_overlay_options($site_alias_record, $prefix)
6.x drush_sitealias_overlay_options($site_alias_record, $prefix)
7.x drush_sitealias_overlay_options($site_alias_record, $prefix)
5.x drush_sitealias_overlay_options($site_alias_record, $prefix)
master drush_sitealias_overlay_options($site_alias_record, $prefix)

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 'foo' in the alias record.

2 calls to drush_sitealias_overlay_options()


includes/, line 1730
The site alias API.


function drush_sitealias_overlay_options($site_alias_record, $prefix) {
  return array_merge($site_alias_record, drush_get_merged_prefixed_options($prefix));