function _bootstrap_glyphicons_supported
8.x-3.x deprecated.php | _bootstrap_glyphicons_supported() |
7.x-3.x common.inc | _bootstrap_glyphicons_supported() |
Determine whether or not Bootstrap Glyphicons can be used.
// Before.
$supported = _bootstrap_glyphicons_supported();
// After.
use Drupal\bootstrap\Bootstrap;
$theme = Bootstrap::getTheme();
$supported = $theme->hasGlyphicons();
Deprecated
Will be removed in a future release.
See Also
Source ./deprecated.php (line 440)
function _bootstrap_glyphicons_supported() {
Bootstrap::deprecated();
return Bootstrap::getTheme()->hasGlyphicons();
}