Skip to content

Commit

Permalink
Issue #141. Mark submodules as 'disabled' when there is an importer (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
argiepiano authored Nov 22, 2023
1 parent 6522381 commit ded7279
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions feeds.module
Original file line number Diff line number Diff line change
Expand Up @@ -909,13 +909,13 @@ function feeds_system_info_alter(array &$info, $file, $type) {
foreach (array('fetcher', 'parser', 'processor') as $plugin_type) {
$plugin_key = $configuration[$plugin_type]['plugin_key'];
if (isset($module_plugins[$plugin_key])) {
$info['required'] = TRUE;
$info['disabled'] = TRUE;
break 2;
}
}
}

if (empty($info['required'])) {
if (empty($info['disabled'])) {
return;
}

Expand Down

0 comments on commit ded7279

Please sign in to comment.