function drush_sitealias_create_sites_alias

8.0.x sitealias.inc drush_sitealias_create_sites_alias($a_drupal_root = '')
6.x sitealias.inc drush_sitealias_create_sites_alias($a_drupal_root = '')
7.x sitealias.inc drush_sitealias_create_sites_alias($a_drupal_root = '')
3.x sitealias.inc drush_sitealias_create_sites_alias($a_drupal_root = '')
4.x sitealias.inc drush_sitealias_create_sites_alias($a_drupal_root = '')
5.x sitealias.inc drush_sitealias_create_sites_alias($a_drupal_root = '')
master sitealias.inc drush_sitealias_create_sites_alias($a_drupal_root = '')
2 calls to drush_sitealias_create_sites_alias()
_drush_sitealias_find_and_load_alias in includes/sitealias.inc
Traverses the alias search path and finds the specified alias record.
_drush_sitealias_get_record in includes/sitealias.inc
This is a continuation of drush_sitealias_get_record, above. It is not intended to be called directly.

File

includes/sitealias.inc, line 1433
The site alias API.

Code

function drush_sitealias_create_sites_alias($a_drupal_root = '') {
  $sites_list = _drush_find_local_sites_at_root($a_drupal_root);
  _drush_sitealias_cache_alias('@sites', array('site-list' => $sites_list));
}