You are here

public function EntityProcessorBase::entityTypeLabel in Feeds 8.3

Returns the label of the entity type being processed.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The label of the entity type.

2 calls to EntityProcessorBase::entityTypeLabel()
EntityProcessorBase::entityValidate in src/Feeds/Processor/EntityProcessorBase.php
EntityProcessorBase::getItemLabel in src/Feeds/Processor/EntityProcessorBase.php
Returns the label for items being created, updated, or deleted.

File

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

Class

EntityProcessorBase
Defines a base entity processor.

Namespace

Drupal\feeds\Feeds\Processor

Code

public function entityTypeLabel() {
  return $this->entityType
    ->getLabel();
}