You are here

public function EntityProcessorBase::bundleLabel in Feeds 8.3

Returns the bundle label for the entity being processed.

Return value

string The bundle label.

1 call to EntityProcessorBase::bundleLabel()
EntityProcessorBase::buildAdvancedForm in src/Feeds/Processor/EntityProcessorBase.php

File

src/Feeds/Processor/EntityProcessorBase.php, line 368

Class

EntityProcessorBase
Defines a base entity processor.

Namespace

Drupal\feeds\Feeds\Processor

Code

public function bundleLabel() {
  if ($label = $this->entityType
    ->getBundleLabel()) {
    return $label;
  }
  return $this
    ->t('Bundle');
}