You are here

protected function EntityReference::getBundleKey in Feeds 8.3

Returns the entity type's bundle key.

Return value

string The bundle key of the entity type.

File

src/Feeds/Target/EntityReference.php, line 232

Class

EntityReference
Defines an entity reference mapper.

Namespace

Drupal\feeds\Feeds\Target

Code

protected function getBundleKey() {
  return $this->entityTypeManager
    ->getDefinition($this
    ->getEntityType())
    ->getKey('bundle');
}