function _bootstrap_glyphicons

8 deprecated.php _bootstrap_glyphicons($version = NULL)
7 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.

Source ./deprecated.php (line 371)

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