function ComponentEntityDisplayBase::getEntity

Same name and namespace in other branches
  1. 11.x core/modules/migrate/src/Plugin/migrate/destination/ComponentEntityDisplayBase.php \Drupal\migrate\Plugin\migrate\destination\ComponentEntityDisplayBase::getEntity()

Gets the entity.

Parameters

string $entity_type: The entity type to retrieve.

string $bundle: The entity bundle.

string $mode: The display mode.

Return value

\Drupal\Core\Entity\Display\EntityDisplayInterface The entity display object.

File

core/modules/migrate/src/Plugin/migrate/destination/ComponentEntityDisplayBase.php, line 116

Class

ComponentEntityDisplayBase
Provides a destination plugin for migrating entity display components.

Namespace

Drupal\migrate\Plugin\migrate\destination

Code

abstract protected function getEntity($entity_type, $bundle, $mode);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.