You are here

function opigno_theme in Opigno 7

Same name and namespace in other branches
  1. 7.0 opigno.module \opigno_theme()

Implements hook_theme().

File

./opigno.module, line 219
Contains all hook_implementations and module specific API.

Code

function opigno_theme() {
  return array(
    'opigno_tool' => array(
      'variables' => array(
        'tool' => NULL,
        'course' => NULL,
      ),
      'template' => 'templates/opigno--tool',
    ),
    'opigno_tools' => array(
      'variables' => array(
        'tools' => NULL,
        'course' => NULL,
      ),
      'template' => 'templates/opigno--tools',
    ),
  );
}