You are here

function hook_fullcalendar_classes in FullCalendar 7.2

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

Constructs CSS classes for an entity.

Parameters

object $entity: Object representing the entity.

Return value

array Array of CSS classes.

3 functions implement hook_fullcalendar_classes()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

fullcalendar_colors_fullcalendar_classes in fullcalendar_colors/fullcalendar_colors.module
Implements hook_fullcalendar_classes().
fullcalendar_fullcalendar_classes in ./fullcalendar.module
Implements hook_fullcalendar_classes().
fullcalendar_legend_fullcalendar_classes in fullcalendar_legend/fullcalendar_legend.module
Implements hook_fullcalendar_classes().
2 invocations of hook_fullcalendar_classes()
fullcalendar_prepare_events in theme/theme.inc
Build a render array representing the events.
_fullcalendar_legend_get_classes in fullcalendar_legend/theme/theme.inc
Spoofs an entity to get its classes.

File

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

Code

function hook_fullcalendar_classes($entity) {

  // Add the entity type as a class.
  return array(
    $entity->entity_type,
  );
}