You are here

function countryicons_theme in Country Icons 6

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

Implementation of 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(
      'arguments' => array(
        'code' => NULL,
        'iconset' => 'shiny',
        'alt' => '',
        'title' => '',
        'attributes' => NULL,
      ),
    ),
    'countryicons_icon_sprite' => array(
      'arguments' => array(
        'code' => NULL,
        'iconset' => 'shiny',
      ),
    ),
  );
}