function _drush_sitealias_alias_list

8.0.x sitealias.drush.inc _drush_sitealias_alias_list()
6.x sitealias.drush.inc _drush_sitealias_alias_list()
7.x sitealias.drush.inc _drush_sitealias_alias_list()
3.x sitealias.drush.inc _drush_sitealias_alias_list()
4.x sitealias.drush.inc _drush_sitealias_alias_list()
5.x sitealias.drush.inc _drush_sitealias_alias_list()
master sitealias.drush.inc _drush_sitealias_alias_list()

Return a list of all site aliases known to drush.

The array key is the site alias name, and the array value is the site specification for the given alias.

1 call to _drush_sitealias_alias_list()
_drush_sitealias_all_list in commands/core/sitealias.drush.inc
Return the list of all site aliases and all local sites.

File

commands/core/sitealias.drush.inc, line 49
Site alias commands.

Code

function _drush_sitealias_alias_list() {
  return drush_get_context('site-aliases');
}