You are here

abstract protected function ComponentEntityDisplayBase::getEntity in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/migrate/src/Plugin/migrate/destination/ComponentEntityDisplayBase.php \Drupal\migrate\Plugin\migrate\destination\ComponentEntityDisplayBase::getEntity()
  2. 9 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.

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
Gets the entity.
PerComponentEntityFormDisplay::getEntity in core/modules/migrate/src/Plugin/migrate/destination/PerComponentEntityFormDisplay.php
Gets the entity.
TestPerComponentEntityDisplay::getEntity in core/modules/migrate/tests/src/Unit/destination/PerComponentEntityDisplayTest.php
Gets the entity.

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

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