You are here

function sarnia_theme in Sarnia 7

Implements hook_theme().

Provide a template for displaying Sarnia entities.

File

./sarnia.module, line 393

Code

function sarnia_theme($existing, $type, $theme, $path) {
  return array(
    'sarnia_entity' => array(
      'render element' => 'elements',
      'template' => 'sarnia-entity',
    ),
    'sarnia_schema_rule_form' => array(
      'file' => 'sarnia.rules.inc',
      'render element' => 'form',
    ),
  );
}