You are here

function event_node_import_fields in Node import 5

Implementation of hook_node_import_fields().

File

supported/event.inc, line 13

Code

function event_node_import_fields($type) {
  if (event_is_enabled($type)) {
    return array(
      'node_import_event_start' => t('Event: Complete start date or timestamp'),
      'node_import_event_end' => t('Event: Complete end date or timestamp'),
      'start_year' => t('Event: Start year'),
      'start_month' => t('Event: Start month'),
      'start_day' => t('Event: Start day'),
      'start_hour' => t('Event: Start hour'),
      'start_minute' => t('Event: Start minute'),
      'end_year' => t('Event: End year'),
      'end_month' => t('Event: End month'),
      'end_day' => t('Event: End day'),
      'end_hour' => t('Event: End hour'),
      'end_minute' => t('Event: End minute'),
    );
  }
}