public 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 72
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; }
Please login to continue.