Mercurial > hg > isophonics-drupal-site
view core/lib/Drupal/Core/Entity/EntityDisplayModeInterface.php @ 18:af1871eacc83
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:33:08 +0100 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line source
<?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); }