-
Notifications
You must be signed in to change notification settings - Fork 0
/
mailfeeds.module
29 lines (28 loc) · 1010 Bytes
/
mailfeeds.module
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php
/**
* Implementation of hook_feeds_plugins().
*/
function mailfeeds_feeds_plugins() {
$info = array();
$info['MailFeedsParser'] = array(
'name' => 'Mailfeeds Parser',
'description' => 'Parser for mailfeeds.',
'handler' => array(
'parent' => 'FeedsParser', // A plugin needs to derive either directly or indirectly from FeedsFetcher, FeedsParser or FeedsProcessor.
'class' => 'MailFeedsParser',
'file' => 'MailFeedsParser.inc',
'path' => drupal_get_path('module', 'mailfeeds') . '/classes',
),
);
$info['MailFeedsFetcher'] = array(
'name' => 'Mailfeeds Fetcher',
'description' => 'Fetcher for mailfeeds.',
'handler' => array(
'parent' => 'FeedsFetcher', // A plugin needs to derive either directly or indirectly from FeedsFetcher, FeedsParser or FeedsProcessor.
'class' => 'MailFeedsFetcher',
'file' => 'MailFeedsFetcher.inc',
'path' => drupal_get_path('module', 'mailfeeds') . '/classes',
),
);
return $info;
}