function Boot::get_version

8.0.x Boot.php Boot::get_version($root)
master Boot.php Boot::get_version($root)

Given a site root directory, determine the exact version of the software.

Parameters

string $root: The full path to the site installation, with no trailing slash.

Return value

string|NULL The version string for the current version of the software, e.g. 8.1.3

1 method overrides Boot::get_version()
BaseBoot::get_version in lib/Drush/Boot/BaseBoot.php
Given a site root directory, determine the exact version of the software.

File

lib/Drush/Boot/Boot.php, line 36

Namespace

Drush\Boot

Class

Boot
Defines the interface for a Boot classes. Any CMS that wishes to work with Drush should extend BaseBoot. If the CMS has a Drupal-Compatibility layer, then it should extend DrupalBoot.

Code

function get_version($root);