You are here

function event_all_day in Event 5.2

Does an event run all day?

Parameters

$node fully loaded event node:

Return value

TRUE or FALSE

Related topics

1 call to event_all_day()
event_calendar_data in ./event.module
Returns an array of nodes that occur on a given date. Handles content type and taxonomy filters.
1 string reference to 'event_all_day'
event_all_day_form_alter in contrib/event_all_day/event_all_day.module

File

./event.module, line 1500

Code

function event_all_day(&$node) {
  return $node->event['has_time'] ? FALSE : TRUE;
}