function theme_fullcalendar_classname in FullCalendar 7
Same name and namespace in other branches
- 6 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 177 - Provides a views style plugin for FullCalendar
Code
function theme_fullcalendar_classname($variables) {
$node = $variables['node'];
$className = array(
'fc-event-default',
$node->type,
);
return implode(' ', $className);
}