You are here

public function FeedsPlugin::hasSourceConfig in Feeds 6

Same name and namespace in other branches
  1. 7.2 plugins/FeedsPlugin.inc \FeedsPlugin::hasSourceConfig()
  2. 7 plugins/FeedsPlugin.inc \FeedsPlugin::hasSourceConfig()

Returns TRUE if $this->sourceForm() returns a form.

Overrides FeedsSourceInterface::hasSourceConfig

File

plugins/FeedsPlugin.inc, line 39
Definition of FeedsPlugin class.

Class

FeedsPlugin
Implement source interface for all plugins.

Code

public function hasSourceConfig() {
  $form = $this
    ->sourceForm(array());
  return !empty($form);
}