You are here

function theme_fullcalendar_legend in FullCalendar 8.2

Same name and namespace in other branches
  1. 8.5 modules/fullcalendar_legend/fullcalendar_legend.theme.inc \theme_fullcalendar_legend()
  2. 8 fullcalendar_legend/fullcalendar_legend.theme.inc \theme_fullcalendar_legend()
  3. 8.3 fullcalendar_legend/fullcalendar_legend.theme.inc \theme_fullcalendar_legend()
  4. 8.4 modules/fullcalendar_legend/fullcalendar_legend.theme.inc \theme_fullcalendar_legend()
  5. 7.2 fullcalendar_legend/theme/theme.inc \theme_fullcalendar_legend()

Render the legend.

1 theme call to theme_fullcalendar_legend()
FullcalendarLegendBase::build in modules/fullcalendar_legend/src/Plugin/block/FullcalendarLegendBase.php
Builds and returns the renderable array for this block plugin.

File

modules/fullcalendar_legend/fullcalendar_legend.theme.inc, line 50
Theme functions for FullCalendar Legend.

Code

function theme_fullcalendar_legend($variables) {
  return \Drupal::service('renderer')
    ->renderRoot($variables['element']);
}