You are here

protected function FeedsEntityProcessor::bundleKey in Feeds entity processor 7

Returns the bundle key.

Return value

string|false The bundle key, or false if the entity type doesn't have one.

4 calls to FeedsEntityProcessor::bundleKey()
FeedsEntityProcessor::bundleLabel in src/FeedsEntityProcessor.inc
Returns the translated label for the bundle.
FeedsEntityProcessor::entityProperties in src/FeedsEntityProcessor.inc
Returns the entity properties that this processor is using.
FeedsEntityProcessor::entityWrapper in src/FeedsEntityProcessor.inc
Returns the entity wrapper metadata for the processor's entity type.
FeedsEntityProcessor::newEntity in src/FeedsEntityProcessor.inc
Implements FeedsProcessor::newEntity().

File

src/FeedsEntityProcessor.inc, line 30
Contains FeedsEntityProcessor.

Class

FeedsEntityProcessor
Creates entities from feed items.

Code

protected function bundleKey() {
  $entity_info = $this
    ->entityInfo();
  return isset($entity_info['entity keys']['bundle']) ? $entity_info['entity keys']['bundle'] : FALSE;
}