You are here

function fullcalendar_legend_theme in FullCalendar 7.2

Same name and namespace in other branches
  1. 8.5 modules/fullcalendar_legend/fullcalendar_legend.module \fullcalendar_legend_theme()
  2. 8 fullcalendar_legend/fullcalendar_legend.module \fullcalendar_legend_theme()
  3. 8.2 modules/fullcalendar_legend/fullcalendar_legend.module \fullcalendar_legend_theme()
  4. 8.3 fullcalendar_legend/fullcalendar_legend.module \fullcalendar_legend_theme()
  5. 8.4 modules/fullcalendar_legend/fullcalendar_legend.module \fullcalendar_legend_theme()

Implements hook_theme().

File

fullcalendar_legend/fullcalendar_legend.module, line 11
Adds a legend of event types.

Code

function fullcalendar_legend_theme($existing, $type, $theme, $path) {
  return array(
    'fullcalendar_legend' => array(
      'variables' => array(
        'types' => NULL,
      ),
      'path' => $path . '/theme',
      'file' => 'theme.inc',
    ),
  );
}