public function EntityDisplayModeBase::getTargetType in Drupal 8
Same name and namespace in other branches
- 9 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
1 call to EntityDisplayModeBase::getTargetType()
- EntityDisplayModeBase::urlRouteParameters in core/
lib/ Drupal/ Core/ Entity/ EntityDisplayModeBase.php - Gets an array of placeholders for this entity.
File
- core/
lib/ Drupal/ Core/ Entity/ EntityDisplayModeBase.php, line 72
Class
- EntityDisplayModeBase
- Base class for config entity types with settings for form and view modes.
Namespace
Drupal\Core\EntityCode
public function getTargetType() {
return $this->targetEntityType;
}