You are here

public function FeedsPlugin::hasSourceConfig in Feeds 8.2

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

Overrides FeedsSourceInterface::hasSourceConfig

File

lib/Drupal/feeds/Plugin/FeedsPlugin.php, line 56
Definition of FeedsPlugin class.

Class

FeedsPlugin
Implement source interface for all plugins.

Namespace

Drupal\feeds\Plugin

Code

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