function _bootstrap_glyphicons
8.x-3.x deprecated.php | _bootstrap_glyphicons($version = NULL) |
7.x-3.x common.inc | _bootstrap_glyphicons($version = NULL) |
Returns a list of available Bootstrap Glyphicons.
// Before.
$glyphicons = _bootstrap_glyphicons($version);
// After.
use Drupal\bootstrap\Bootstrap;
$glyphicons = Bootstrap::glyphicons($version);
Parameters
string $version: The specific version of glyphicons to return. If not set, the latest BOOTSTRAP_VERSION will be used.
Return value
array An associative array of icons keyed by their classes.
Deprecated
Will be removed in a future release.
See Also
Source ./deprecated.php (line 418)
function _bootstrap_glyphicons($version = NULL) {
Bootstrap::deprecated();
return Bootstrap::glyphicons($version);
}