function _drush_sitealias_print_record

8.0.x sitealias.drush.inc _drush_sitealias_print_record($alias_record, $site_alias = '')
6.x sitealias.drush.inc _drush_sitealias_print_record($alias_record, $site_alias = '')
7.x sitealias.drush.inc _drush_sitealias_print_record($alias_record, $site_alias = '')
3.x sitealias.drush.inc _drush_sitealias_print_record($alias_record, $site_alias = '')
4.x sitealias.drush.inc _drush_sitealias_print_record($alias_record, $site_alias = '')
5.x sitealias.drush.inc _drush_sitealias_print_record($alias_record, $site_alias = '')
master sitealias.drush.inc _drush_sitealias_print_record($alias_record, $site_alias = '')

File

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

Code

function _drush_sitealias_print_record($alias_record, $site_alias = '') {
  list($alias_name, $result_record) = _drush_sitealias_prepare_record($alias_record, $site_alias);
  $exported_alias = var_export($result_record, TRUE);
  drush_print('$aliases[\'' . $alias_name . '\'] = ' . $exported_alias . ';');
}