function drush_read_drush_info

8.0.x environment.inc drush_read_drush_info()
6.x environment.inc drush_read_drush_info()
7.x environment.inc drush_read_drush_info()
3.x environment.inc drush_read_drush_info()
4.x environment.inc drush_read_drush_info()
5.x environment.inc drush_read_drush_info()

Read the drush info file.

1 call to drush_read_drush_info()
drush_bootstrap_prepare in includes/bootstrap.inc
Prepare drush for bootstrap

File

includes/environment.inc, line 772
Functions used by drush to query the environment and setting the current configuration.

Code

function drush_read_drush_info() {
  $drush_info_file = dirname() . '/../drush.info';

  return parse_ini_file($drush_info_file);
}