You are here

protected function EntityReference::getEntityType in Feeds 8.3

Returns the entity type to reference.

Return value

string The entity type to reference.

3 calls to EntityReference::getEntityType()
EntityReference::findEntities in src/Feeds/Target/EntityReference.php
Tries to lookup an existing entity.
EntityReference::getLangcodeKey in src/Feeds/Target/EntityReference.php
Returns the entity type's langcode key, if it has one.
EntityReference::getPotentialFields in src/Feeds/Target/EntityReference.php
Returns a list of fields that may be used to reference by.
1 method overrides EntityReference::getEntityType()
File::getEntityType in src/Feeds/Target/File.php
Returns the entity type to reference.

File

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

Class

EntityReference
Defines an entity reference mapper.

Namespace

Drupal\feeds\Feeds\Target

Code

protected function getEntityType() {
  return $this->settings['target_type'];
}