function theme_fullcalendar_legend in FullCalendar 8
Same name and namespace in other branches
- 8.5 modules/fullcalendar_legend/fullcalendar_legend.theme.inc \theme_fullcalendar_legend()
- 8.2 modules/fullcalendar_legend/fullcalendar_legend.theme.inc \theme_fullcalendar_legend()
- 8.3 fullcalendar_legend/fullcalendar_legend.theme.inc \theme_fullcalendar_legend()
- 8.4 modules/fullcalendar_legend/fullcalendar_legend.theme.inc \theme_fullcalendar_legend()
- 7.2 fullcalendar_legend/theme/theme.inc \theme_fullcalendar_legend()
Render the legend.
1 theme call to theme_fullcalendar_legend()
- FullcalendarLegendBase::build in fullcalendar_legend/
src/ Plugin/ block/ FullcalendarLegendBase.php - Builds and returns the renderable array for this block plugin.
File
- 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']);
}