You are here

public function EntityDisplayModeInterface::getTargetType in Zircon Profile 8

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

Gets the entity type this display mode is used for.

Return value

string The entity type name.

1 method overrides EntityDisplayModeInterface::getTargetType()
EntityDisplayModeBase::getTargetType in core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php
Gets the entity type this display mode is used for.

File

core/lib/Drupal/Core/Entity/EntityDisplayModeInterface.php, line 23
Contains \Drupal\Core\Entity\EntityDisplayModeInterface.

Class

EntityDisplayModeInterface
Provides an interface for entity types that hold form and view mode settings.

Namespace

Drupal\Core\Entity

Code

public function getTargetType();