function PerComponentEntityDisplay::getEntity
Same name in other branches
- 9 core/modules/migrate/src/Plugin/migrate/destination/PerComponentEntityDisplay.php \Drupal\migrate\Plugin\migrate\destination\PerComponentEntityDisplay::getEntity()
- 8.9.x core/modules/migrate/src/Plugin/migrate/destination/PerComponentEntityDisplay.php \Drupal\migrate\Plugin\migrate\destination\PerComponentEntityDisplay::getEntity()
- 10 core/modules/migrate/src/Plugin/migrate/destination/PerComponentEntityDisplay.php \Drupal\migrate\Plugin\migrate\destination\PerComponentEntityDisplay::getEntity()
Overrides ComponentEntityDisplayBase::getEntity
File
-
core/
modules/ migrate/ src/ Plugin/ migrate/ destination/ PerComponentEntityDisplay.php, line 57
Class
- PerComponentEntityDisplay
- This class imports one component of an entity display.
Namespace
Drupal\migrate\Plugin\migrate\destinationCode
protected function getEntity($entity_type, $bundle, $view_mode) {
return $this->entityDisplayRepository
->getViewDisplay($entity_type, $bundle, $view_mode);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.