calendar-header.html.twig in Calendar 8
Same filename and directory in other branches
Template to display a calendar header. Be default called by CalendarHeader area.
Available variables:
- title: Header Title.
- empty: Whether there are any results.
- granularity: whether this is week, day, month or year display.
1 theme call to calendar-header.html.twig
- CalendarHeader::render in src/
Plugin/ views/ area/ CalendarHeader.php - Render the area.
File
templates/calendar-header.html.twigView source
- {#/**
- * @file
- * Template to display a calendar header.
- * Be default called by CalendarHeader area.
- *
- * Available variables:
- * - title: Header Title.
- * - empty: Whether there are any results.
- * - granularity: whether this is week, day, month or year display.
- *
- * @ingroup themeable
- */
- #}
- {# @todo Finish Header if this the way to go. #}
- <h3>{{ title }}</h3>