Mercurial > hg > isophonics-drupal-site
view core/lib/Drupal/Core/Entity/EntityDisplayModeInterface.php @ 11:bfffd8d7479a
Move drupal/core from "replace" to "require" section, to ensure Composer updates it
author | Chris Cannam |
---|---|
date | Fri, 23 Feb 2018 15:51:18 +0000 |
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); }