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_check_self_update in includes/drush.inc
Check to see if a newer version of drush is available
_drush_bootstrap_drush in includes/environment.inc
Initial Drush bootstrap phase.

File

includes/environment.inc, line 1329
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);
}