You are here

function agenda_theme in Agenda 6.2

Same name and namespace in other branches
  1. 6 agenda.module \agenda_theme()
  2. 7.2 agenda.module \agenda_theme()
  3. 7 agenda.module \agenda_theme()

Implementation of hook_theme().

File

./agenda.module, line 163

Code

function agenda_theme($existing, $type, $theme, $path) {
  $theme = array(
    'agenda_block' => array(
      'arguments' => array(
        'events' => array(),
        'block' => new stdClass(),
      ),
      'template' => 'agenda-block',
    ),
    'agenda_admin' => array(
      'arguments' => array(
        'table' => '',
      ),
      'template' => 'agenda-admin',
    ),
  );
  return $theme;
}