You are here

function smart_date_recur_theme in Smart Date 3.4.x

Same name and namespace in other branches
  1. 8.2 modules/smart_date_recur/smart_date_recur.module \smart_date_recur_theme()
  2. 3.x modules/smart_date_recur/smart_date_recur.module \smart_date_recur_theme()
  3. 3.0.x modules/smart_date_recur/smart_date_recur.module \smart_date_recur_theme()
  4. 3.1.x modules/smart_date_recur/smart_date_recur.module \smart_date_recur_theme()
  5. 3.2.x modules/smart_date_recur/smart_date_recur.module \smart_date_recur_theme()
  6. 3.3.x modules/smart_date_recur/smart_date_recur.module \smart_date_recur_theme()

Implements hook_theme().

File

modules/smart_date_recur/smart_date_recur.module, line 34
Field hooks for a field that stores a start and end date as timestamps.

Code

function smart_date_recur_theme($existing, $type, $theme, $path) {
  return [
    'smart_date_recurring_formatter' => [
      'variables' => [
        'rule_text' => NULL,
        'past_display' => NULL,
        'next_display' => NULL,
        'upcoming_display' => NULL,
      ],
    ],
    'smart_date_recurring_text_rule' => [
      'variables' => [
        'repeat' => NULL,
        'day' => NULL,
        'month' => NULL,
        'time' => NULL,
        'limit' => NULL,
      ],
    ],
  ];
}