Check for Feed id in hook_feeds_presave I have a module that is using hook_feeds_presave. I want to only run specific parts of this function based on the feeds importer that is running. How can I check for the ID of the feed? These are standalone feeds and don't use node forms.
Try printing $source-&gt;id ( even if $source seems empty ). This should return the machine name.
It's what I always use.