function theme_fullcalendar_classname in FullCalendar 6
Same name and namespace in other branches
- 7 fullcalendar.module \theme_fullcalendar_classname()
Constructs CSS classes for a node.
Parameters
$node: An object representing the node.
Return value
A string suitable for use as a CSS class.
1 theme call to theme_fullcalendar_classname()
- template_preprocess_views_view_node_fullcalendar in ./
fullcalendar.module - Prepares variables for template file invoked for node row type.
File
- ./
fullcalendar.module, line 170 - Provides a views style plugin for FullCalendar
Code
function theme_fullcalendar_classname($node) {
$className = array(
'fc-event-default',
$node->type,
);
return implode(' ', $className);
}