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