public function EntityDisplayModeInterface::getTargetType

public EntityDisplayModeInterface::getTargetType()

Gets the entity type this display mode is used for.

Return value

string The entity type name.

File

core/lib/Drupal/Core/Entity/EntityDisplayModeInterface.php, line 18

Class

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

Namespace

Drupal\Core\Entity

Code

public function getTargetType();

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!EntityDisplayModeInterface.php/function/EntityDisplayModeInterface::getTargetType/8.1.x