You are here

function date_ical_feeds_plugins in Date iCal 7.2

Same name and namespace in other branches
  1. 7.3 date_ical.module \date_ical_feeds_plugins()

Implementation of ctools plugin for feeds hook_feeds_plugins().

File

./date_ical.module, line 148
Adds ical functionality to Views, and an iCal parser to Feeds.

Code

function date_ical_feeds_plugins() {
  $path = drupal_get_path('module', 'date_ical') . '/includes';
  $info = array();
  $info['DateIcalFeedsParser'] = array(
    'hidden' => TRUE,
    'handler' => array(
      'parent' => 'FeedsParser',
      'class' => 'DateIcalFeedsParser',
      'file' => 'DateIcalFeedsParser.inc',
      'path' => $path,
    ),
  );
  $info['DateIcalIcalcreatorParser'] = array(
    'name' => 'iCal parser',
    'description' => t('Use the iCalcreator library to parse iCal feeds.'),
    'help' => 'Parse iCal feeds.',
    'handler' => array(
      'parent' => 'DateIcalFeedsParser',
      'class' => 'DateIcalIcalcreatorParser',
      'file' => 'DateIcalIcalcreatorParser.inc',
      'path' => $path,
    ),
  );
  return $info;
}