EntityDisplayModeInterface::setTargetType

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);
doc_Drupal
2016-10-29 09:05:48
Comments
Leave a Comment

Please login to continue.