You are here

function rules_link_theme in Rules Link 7

Same name and namespace in other branches
  1. 7.2 rules_link.module \rules_link_theme()

Implements hook_theme().

File

./rules_link.module, line 429
Rules Link - module file.

Code

function rules_link_theme() {
  return array(
    'rules_link' => array(
      'template' => 'rules-link',
      'variables' => array(
        'title' => NULL,
        'href' => NULL,
        'attr' => NULL,
        'options' => NULL,
        'rules_link' => NULL,
      ),
      'pattern' => 'rules-link__',
    ),
  );
}