function EntityDisplayBase::getTargetEntityTypeId

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Entity/EntityDisplayBase.php \Drupal\Core\Entity\EntityDisplayBase::getTargetEntityTypeId()
  2. 8.9.x core/lib/Drupal/Core/Entity/EntityDisplayBase.php \Drupal\Core\Entity\EntityDisplayBase::getTargetEntityTypeId()
  3. 10 core/lib/Drupal/Core/Entity/EntityDisplayBase.php \Drupal\Core\Entity\EntityDisplayBase::getTargetEntityTypeId()

Overrides EntityDisplayInterface::getTargetEntityTypeId

3 calls to EntityDisplayBase::getTargetEntityTypeId()
LayoutBuilderEntityViewDisplay::label in core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php
@todo Move this upstream in https://www.drupal.org/node/2939931.
LayoutBuilderEntityViewDisplay::preSave in core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php
Acts on an entity before the presave hook is invoked.
LayoutBuilderEntityViewDisplay::setComponent in core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php
Sets the display options for a component.

File

core/lib/Drupal/Core/Entity/EntityDisplayBase.php, line 217

Class

EntityDisplayBase
Provides a common base class for entity view and form displays.

Namespace

Drupal\Core\Entity

Code

public function getTargetEntityTypeId() {
    return $this->targetEntityType;
}

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