public EntityDisplayModeInterface::setTargetType($target_entity_type)
Set the entity type this display mode is used for.
Parameters
string $target_entity_type: The target entity type for this display mode.
Return value
$this
File
- core/lib/Drupal/Core/Entity/EntityDisplayModeInterface.php, line 28
Class
- EntityDisplayModeInterface
- Provides an interface for entity types that hold form and view mode settings.
Namespace
Drupal\Core\Entity
Code
public function setTargetType($target_entity_type);
Please login to continue.