
| Current Path : /var/www/html/ift/web/core/lib/Drupal/Core/Entity/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/ift/web/core/lib/Drupal/Core/Entity/EntityDisplayModeInterface.php |
<?php
namespace Drupal\Core\Entity;
use Drupal\Core\Config\Entity\ConfigEntityInterface;
/**
* Provides an interface for entity types that hold form and view mode settings.
*/
interface EntityDisplayModeInterface extends ConfigEntityInterface {
/**
* Gets the entity type this display mode is used for.
*
* @return string
* The entity type name.
*/
public function getTargetType();
/**
* Set the entity type this display mode is used for.
*
* @param string $target_entity_type
* The target entity type for this display mode.
*
* @return $this
*/
public function setTargetType($target_entity_type);
}