You are here

function hook_fullcalendar_classes in FullCalendar 6.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. 7.2 fullcalendar.api.php \hook_fullcalendar_classes()

Constructs CSS classes for an node.

Parameters

$node: Object representing the node.

Return value

Array of CSS classes.

1 function implements 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_fullcalendar_classes in ./fullcalendar.module
Implements hook_fullcalendar_classes().
1 invocation of hook_fullcalendar_classes()
template_preprocess_fullcalendar_fields in theme/theme.inc
Prepares variables for template file invoked for row type.

File

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

Code

function hook_fullcalendar_classes($node) {

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