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.

2 calls to drush_read_drush_info()
drush_bootstrap_prepare in includes/bootstrap.inc
Prepare drush for bootstrap
drush_check_self_update in includes/drush.inc
Check to see if a newer version of drush is available

File

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

Code

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

  return parse_ini_file($drush_info_file);
}