You are here

function feeds_ex_source_exists in Feeds extensible parsers 7.2

Same name and namespace in other branches
  1. 7 feeds_ex.module \feeds_ex_source_exists()

Machine name exists callback.

1 string reference to 'feeds_ex_source_exists'
FeedsExBase::configForm in src/FeedsExBase.inc

File

./feeds_ex.module, line 131
A Feeds framework used to create extensible parsers.

Code

function feeds_ex_source_exists($source_id, array $element) {
  $sources = feeds_importer($element['#feeds_importer'])->parser
    ->getMappingSources();
  return isset($sources[$source_id]);
}