Skip to content
Snippets Groups Projects
Unverified Commit c050d1d6 authored by Jose Antonio Reyero del Prado's avatar Jose Antonio Reyero del Prado Committed by Mark Halliwell
Browse files

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
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment