You are here

public function EntityDisplayModeBase::getTargetType in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php \Drupal\Core\Entity\EntityDisplayModeBase::getTargetType()

Gets the entity type this display mode is used for.

Return value

string The entity type name.

Overrides EntityDisplayModeInterface::getTargetType

File

core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php, line 77
Contains \Drupal\Core\Entity\EntityDisplayModeBase.

Class

EntityDisplayModeBase
Base class for config entity types with settings for form and view modes.

Namespace

Drupal\Core\Entity

Code

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