You are here

function _bootstrap_glyphicons in Express 8

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

\Drupal\bootstrap\Bootstrap::glyphicons()

File

themes/contrib/bootstrap/deprecated.php, line 371
This contains deprecated functions that will be removed in a future release.

Code

function _bootstrap_glyphicons($version = NULL) {
  Bootstrap::deprecated();
  return Bootstrap::glyphicons($version);
}