3 namespace Drush\Commands\core;
5 use Consolidation\OutputFormatters\StructuredData\AssociativeList;
13 * drupal-version: Drupal version
15 * db-driver: Database driver
16 * db-hostname: Database hostname
17 * db-port: Database port
18 * db-username: Database username
19 * db-password: Database password
20 * db-name: Database name
22 * bootstrap: Drupal bootstrap
24 * theme: Default theme
25 * admin-theme: Administration theme
26 * php-bin: PHP executable
27 * php-conf: PHP configuration
29 * drush-script: Drush script
30 * drush-version: Drush version
31 * drush-temp: Drush temp directory
32 * drush-conf: Drush configuration
33 * drush-alias-files: Drush alias files
34 * install-profile: Install profile
36 * drupal-settings-file: Drupal Settings File
37 * site-path: Site path
41 * modules: Modules path
42 * files: File directory path
43 * private: Private file directory path
44 * temp: Temporary file directory path
45 * config-sync: Sync config path
46 * files-path: File directory path
47 * temp-path: Temporary file directory path
52 public function status($options = ['project' => '', 'format' => 'table', 'fields' => '']) {
53 $data = _core_site_status_table($options['project']);
55 return new AssociativeList($data);