forked from dennisinteractive/drupal-patches
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfeeds_plugin_not_found_plugins.patch
More file actions
145 lines (145 loc) · 4.1 KB
/
Copy pathfeeds_plugin_not_found_plugins.patch
File metadata and controls
145 lines (145 loc) · 4.1 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
diff --git a/feeds.plugins.inc b/feeds.plugins.inc
index c7d5d81..c7381bb 100644
--- a/feeds.plugins.inc
+++ b/feeds.plugins.inc
@@ -9,23 +9,17 @@
* Break out for feeds_feed_plugins().
*/
function _feeds_feeds_plugins() {
- $path = drupal_get_path('module', 'feeds') . '/plugins';
-
$info = array();
$info['FeedsPlugin'] = array(
'hidden' => TRUE,
'handler' => array(
'class' => 'FeedsPlugin',
- 'file' => 'FeedsPlugin.inc',
- 'path' => $path,
),
);
$info['FeedsMissingPlugin'] = array(
'hidden' => TRUE,
'handler' => array(
'class' => 'FeedsMissingPlugin',
- 'file' => 'FeedsPlugin.inc',
- 'path' => $path,
),
);
$info['FeedsFetcher'] = array(
@@ -33,8 +27,6 @@ function _feeds_feeds_plugins() {
'handler' => array(
'parent' => 'FeedsPlugin',
'class' => 'FeedsFetcher',
- 'file' => 'FeedsFetcher.inc',
- 'path' => $path,
),
);
$info['FeedsParser'] = array(
@@ -42,8 +34,6 @@ function _feeds_feeds_plugins() {
'handler' => array(
'parent' => 'FeedsPlugin',
'class' => 'FeedsParser',
- 'file' => 'FeedsParser.inc',
- 'path' => $path,
),
);
$info['FeedsProcessor'] = array(
@@ -51,8 +41,6 @@ function _feeds_feeds_plugins() {
'handler' => array(
'parent' => 'FeedsPlugin',
'class' => 'FeedsProcessor',
- 'file' => 'FeedsProcessor.inc',
- 'path' => $path,
),
);
$info['FeedsHTTPFetcher'] = array(
@@ -61,8 +49,6 @@ function _feeds_feeds_plugins() {
'handler' => array(
'parent' => 'FeedsFetcher', // This is the key name, not the class name.
'class' => 'FeedsHTTPFetcher',
- 'file' => 'FeedsHTTPFetcher.inc',
- 'path' => $path,
),
);
$info['FeedsFileFetcher'] = array(
@@ -71,8 +57,6 @@ function _feeds_feeds_plugins() {
'handler' => array(
'parent' => 'FeedsFetcher',
'class' => 'FeedsFileFetcher',
- 'file' => 'FeedsFileFetcher.inc',
- 'path' => $path,
),
);
$info['FeedsCSVParser'] = array(
@@ -81,8 +65,6 @@ function _feeds_feeds_plugins() {
'handler' => array(
'parent' => 'FeedsParser',
'class' => 'FeedsCSVParser',
- 'file' => 'FeedsCSVParser.inc',
- 'path' => $path,
),
);
if (extension_loaded('SimpleXML')) {
@@ -93,8 +75,6 @@ function _feeds_feeds_plugins() {
'handler' => array(
'parent' => 'FeedsParser',
'class' => 'FeedsSyndicationParser',
- 'file' => 'FeedsSyndicationParser.inc',
- 'path' => $path,
),
);
}
@@ -104,8 +84,6 @@ function _feeds_feeds_plugins() {
'handler' => array(
'parent' => 'FeedsParser',
'class' => 'FeedsOPMLParser',
- 'file' => 'FeedsOPMLParser.inc',
- 'path' => $path,
),
);
if (feeds_simplepie_exists()) {
@@ -116,8 +94,6 @@ function _feeds_feeds_plugins() {
'handler' => array(
'parent' => 'FeedsParser',
'class' => 'FeedsSimplePieParser',
- 'file' => 'FeedsSimplePieParser.inc',
- 'path' => $path,
),
);
}
@@ -127,8 +103,6 @@ function _feeds_feeds_plugins() {
'handler' => array(
'parent' => 'FeedsParser',
'class' => 'FeedsSitemapParser',
- 'file' => 'FeedsSitemapParser.inc',
- 'path' => $path,
),
);
$info['FeedsNodeProcessor'] = array(
@@ -138,8 +112,6 @@ function _feeds_feeds_plugins() {
'handler' => array(
'parent' => 'FeedsProcessor',
'class' => 'FeedsNodeProcessor',
- 'file' => 'FeedsNodeProcessor.inc',
- 'path' => $path,
),
);
$info['FeedsUserProcessor'] = array(
@@ -149,8 +121,6 @@ function _feeds_feeds_plugins() {
'handler' => array(
'parent' => 'FeedsProcessor',
'class' => 'FeedsUserProcessor',
- 'file' => 'FeedsUserProcessor.inc',
- 'path' => $path,
),
);
if (module_exists('taxonomy')) {
@@ -161,8 +131,6 @@ function _feeds_feeds_plugins() {
'handler' => array(
'parent' => 'FeedsProcessor',
'class' => 'FeedsTermProcessor',
- 'file' => 'FeedsTermProcessor.inc',
- 'path' => $path,
),
);
}