function _core_site_credential_list

3.x core.drush.inc _core_site_credential_list($status_table)
4.x core.drush.inc _core_site_credential_list($status_table)
5.x core.drush.inc _core_site_credential_list($status_table)
1 call to _core_site_credential_list()
drush_core_status in commands/core/core.drush.inc
Command callback. Provides a birds-eye view of the current Drupal installation.

File

commands/core/core.drush.inc, line 355
Core drush commands.

Code

function _core_site_credential_list($status_table) {
  $credentials = '';
  foreach ($status_table as $key => $value) {
    if (isset($value)) {
      $credentials .= sprintf("%s=%s\n", strtolower(str_replace(' ', '_', $key)), $value);
    }
  }
  return $credentials;
}