You are here

public function FeedsProcessor::bundle in Feeds 8.2

Bundle type this processor operates on.

Defaults to the entity type for entities that do not define bundles.

Return value

string|NULL The bundle type this processor operates on, or NULL if it is undefined.

8 calls to FeedsProcessor::bundle()
FeedsNodeProcessor::existingEntityId in lib/Drupal/feeds/Plugin/feeds/processor/FeedsNodeProcessor.php
Get nid of an existing feed item node if available.
FeedsNodeProcessor::getMappingTargets in lib/Drupal/feeds/Plugin/feeds/processor/FeedsNodeProcessor.php
Return available mapping targets.
FeedsNodeProcessor::newEntity in lib/Drupal/feeds/Plugin/feeds/processor/FeedsNodeProcessor.php
Creates a new node in memory and returns it.
FeedsNodeProcessor::setTargetElement in lib/Drupal/feeds/Plugin/feeds/processor/FeedsNodeProcessor.php
Override setTargetElement to operate on a target item that is a node.
FeedsProcessor::configForm in lib/Drupal/feeds/Plugin/FeedsProcessor.php
Overrides parent::configForm().

... See full list

File

lib/Drupal/feeds/Plugin/FeedsProcessor.php, line 53
Contains FeedsProcessor and related classes.

Class

FeedsProcessor
Abstract class, defines interface for processors.

Namespace

Drupal\feeds\Plugin

Code

public function bundle() {
  return $this->config['bundle'];
}