function EntityDisplayModeInterface::getTargetType
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Entity/EntityDisplayModeInterface.php \Drupal\Core\Entity\EntityDisplayModeInterface::getTargetType()
- 10 core/lib/Drupal/Core/Entity/EntityDisplayModeInterface.php \Drupal\Core\Entity\EntityDisplayModeInterface::getTargetType()
- 11.x 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 18
Class
- EntityDisplayModeInterface
- Provides an interface for entity types that hold form and view mode settings.
Namespace
Drupal\Core\EntityCode
public function getTargetType();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.