Unverified Commit c050d1d6 authored by Jose Reyero's avatar Jose Reyero Committed by markcarver

Issue #2974394 by Jose Reyero: Caching issue with Icon API,...

Issue #2974394 by Jose Reyero: Caching issue with Icon API, bootstrap_icon_bundles() returns nothing, glyphicons disappear
parent 908e4e53
......@@ -22,21 +22,19 @@ function bootstrap_icon_providers() {
* Implements hook_icon_bundles().
*/
function bootstrap_icon_bundles() {
$bundles = array();
if (_bootstrap_glyphicons_supported()) {
$bundles['bootstrap'] = array(
'render' => 'sprite',
'provider' => 'bootstrap',
'title' => t('Bootstrap'),
'version' => t('Icons by Glyphicons'),
'variations' => array(
'icon-white' => t('White'),
),
'settings' => array(
'tag' => 'span',
),
'icons' => _bootstrap_glyphicons(),
);
}
$bundles['bootstrap'] = array(
'render' => 'sprite',
'provider' => 'bootstrap',
'title' => t('Bootstrap'),
'version' => t('Icons by Glyphicons'),
'variations' => array(
'icon-white' => t('White'),
),
'settings' => array(
'tag' => 'span',
),
'icons' => _bootstrap_glyphicons(),
);
return $bundles;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment