You are here

function hook_fullcalendar_classes_alter in FullCalendar 8

Same name and namespace in other branches
  1. 8.5 fullcalendar.api.php \hook_fullcalendar_classes_alter()
  2. 8.2 fullcalendar.api.php \hook_fullcalendar_classes_alter()
  3. 8.3 fullcalendar.api.php \hook_fullcalendar_classes_alter()
  4. 8.4 fullcalendar.api.php \hook_fullcalendar_classes_alter()
  5. 6.2 fullcalendar.api.php \hook_fullcalendar_classes_alter()
  6. 7.2 fullcalendar.api.php \hook_fullcalendar_classes_alter()

Alter the CSS classes for an entity.

Parameters

array $classes: Array of CSS classes.

object $entity: Object representing the entity.

2 invocations of hook_fullcalendar_classes_alter()
FullCalendar::prepareEvent in src/Plugin/views/style/FullCalendar.php
Helper method to prepare event.
_fullcalendar_legend_get_classes in fullcalendar_legend/fullcalendar_legend.theme.inc
Spoofs an entity to get its classes.

File

./fullcalendar.api.php, line 37
Hooks provided by the FullCalendar module.

Code

function hook_fullcalendar_classes_alter(&$classes, $entity) {

  // Remove all classes set by modules.
  $classes = [];
}