You are here

function date_repeat_field_theme in Date 8

Same name and namespace in other branches
  1. 7.3 date_repeat_field/date_repeat_field.module \date_repeat_field_theme()
  2. 7.2 date_repeat_field/date_repeat_field.module \date_repeat_field_theme()

Implements hook_theme().

File

date_repeat_field/date_repeat_field.module, line 32
Creates the option of Repeating date fields and manages Date fields that use the Date Repeat API.

Code

function date_repeat_field_theme() {
  $themes = array(
    'date_repeat_display' => array(
      'variables' => array(
        'field' => NULL,
        'item' => NULL,
        'entity_type' => NULL,
        'entity' => NULL,
        'dates' => NULL,
      ),
      'function' => 'theme_date_repeat_display',
    ),
  );
  return $themes;
}