You are here

function interval_theme in Interval Field 8

Same name and namespace in other branches
  1. 7 interval.module \interval_theme()

Implements hook_theme().

File

./interval.module, line 14
Defines an interval field. @copyright Copyright(c) 2011 Rowlands Group @license GPL v2+ http://www.fsf.org/licensing/licenses/gpl.html @author Lee Rowlands leerowlands at rowlandsgroup dot com

Code

function interval_theme() {
  $hooks = [
    'interval' => [
      'render element' => 'element',
      'template' => 'interval',
    ],
  ];
  return $hooks;
}