function countryicons_theme in Country Icons 7
Same name and namespace in other branches
- 6.2 countryicons.module \countryicons_theme()
- 6 countryicons.module \countryicons_theme()
- 7.2 countryicons.module \countryicons_theme()
Implements hook_theme().
File
- ./
countryicons.module, line 11 - A collection of country icons, and an API for retrieving them.
Code
function countryicons_theme() {
return array(
'countryicons_icon' => array(
'variables' => array(
'code' => NULL,
'iconset' => 'shiny',
'alt' => '',
'title' => NULL,
'attributes' => NULL,
),
),
'countryicons_icon_sprite' => array(
'variables' => array(
'code' => NULL,
'iconset' => 'shiny',
),
),
);
}