You are here

function service_links_sprites_theme in Service links 7.2

Same name and namespace in other branches
  1. 6.2 plugins/service_links_sprites.module \service_links_sprites_theme()

Implements hook_theme().

File

plugins/service_links_sprites.module, line 160
Adds new styles based on sprites.

Code

function service_links_sprites_theme() {
  return array(
    'sls_style_image' => array(
      'variables' => array(
        'text' => NULL,
        'url' => array(),
        'image' => NULL,
        'nodelink' => NULL,
        'attributes' => array(),
      ),
    ),
    'sls_style_image_and_text' => array(
      'variables' => array(
        'text' => NULL,
        'url' => array(),
        'image' => NULL,
        'nodelink' => NULL,
        'attributes' => array(),
      ),
    ),
  );
}