Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. PerComponentEntityDisplay.php

function 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\destination

Code

protected function getEntity($entity_type, $bundle, $view_mode) {
    return $this->entityDisplayRepository
        ->getViewDisplay($entity_type, $bundle, $view_mode);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal