You are here

abstract protected function ComponentEntityDisplayBase::getEntity in Zircon Profile 8

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

Get 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.

1 call to ComponentEntityDisplayBase::getEntity()
ComponentEntityDisplayBase::import in core/modules/migrate/src/Plugin/migrate/destination/ComponentEntityDisplayBase.php
Import the row.
3 methods override ComponentEntityDisplayBase::getEntity()
PerComponentEntityDisplay::getEntity in core/modules/migrate/src/Plugin/migrate/destination/PerComponentEntityDisplay.php
Get the entity.
PerComponentEntityFormDisplay::getEntity in core/modules/migrate/src/Plugin/migrate/destination/PerComponentEntityFormDisplay.php
Get the entity.
TestPerComponentEntityDisplay::getEntity in core/modules/migrate/tests/src/Unit/destination/PerComponentEntityDisplayTest.php
Get the entity.

File

core/modules/migrate/src/Plugin/migrate/destination/ComponentEntityDisplayBase.php, line 69
Contains \Drupal\migrate\Plugin\migrate\destination\ComponentEntityDisplayBase.

Class

ComponentEntityDisplayBase

Namespace

Drupal\migrate\Plugin\migrate\destination

Code

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