You are here

views-view-fullcalendar.html.twig in Fullcalendar View 8

{#
/**
 * Default theme implementation for Views to output a Fullcalendar View.
 *
 * Available variables:
 * - options: View plugin style options:
 *   - classes: CSS classes.
 *   - defaultDate: Default date of the calendar
 *   - start: Field name of start date
 *   - end: Field name of end date
 *
 * @see template_preprocess_views_view_fullcalendar()
 *
 * @ingroup themeable
 */
#}
{%
  set classes = [
    options.classes
  ]
%}
<div{{ attributes.addClass(classes) }}>
  <div id="calendar"></div>
</div>

File

templates/views-view-fullcalendar.html.twig
View source
  1. {#
  2. /**
  3. * Default theme implementation for Views to output a Fullcalendar View.
  4. *
  5. * Available variables:
  6. * - options: View plugin style options:
  7. * - classes: CSS classes.
  8. * - defaultDate: Default date of the calendar
  9. * - start: Field name of start date
  10. * - end: Field name of end date
  11. *
  12. * @see template_preprocess_views_view_fullcalendar()
  13. *
  14. * @ingroup themeable
  15. */
  16. #}
  17. {%
  18. set classes = [
  19. options.classes
  20. ]
  21. %}
  22. <div{{ attributes.addClass(classes) }}>
  23. <div id="calendar"></div>
  24. </div>