constant BOOTSTRAP_VERSION_MINOR in Express 8
The current supported Bootstrap framework minor version number.
// Before.
echo BOOTSTRAP_VERSION_MINOR;
// After.
use Drupal\bootstrap\Bootstrap;
echo substr(Bootstrap::FRAMEWORK_VERSION, 2, 1);
Deprecated
Will be removed in a future release.
See also
\Drupal\bootstrap\Bootstrap::FRAMEWORK_VERSION
File
- themes/
contrib/ bootstrap/ deprecated.php, line 65 - This contains deprecated functions that will be removed in a future release.
Code
define('BOOTSTRAP_VERSION_MINOR', substr(Bootstrap::FRAMEWORK_VERSION, 2, 1));