You are here

function countryicons_theme in Country Icons 7.2

Same name and namespace in other branches
  1. 6.2 countryicons.module \countryicons_theme()
  2. 6 countryicons.module \countryicons_theme()
  3. 7 countryicons.module \countryicons_theme()

Implements hook_theme().

File

./countryicons.module, line 18
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' => NULL,
        'alt' => '',
        'title' => '',
        'attributes' => NULL,
        'display_unknown' => TRUE,
      ),
      'file' => 'countryicons.theme.inc',
    ),
    'countryicons_icon_sprite' => array(
      'variables' => array(
        'code' => NULL,
        'iconset' => NULL,
      ),
      'file' => 'countryicons.theme.inc',
    ),
  );
}