comparison core/lib/Drupal/Core/Entity/EntityDisplayModeInterface.php @ 0:4c8ae668cc8c

Initial import (non-working)
author Chris Cannam
date Wed, 29 Nov 2017 16:09:58 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4c8ae668cc8c
1 <?php
2
3 namespace Drupal\Core\Entity;
4
5 use Drupal\Core\Config\Entity\ConfigEntityInterface;
6
7 /**
8 * Provides an interface for entity types that hold form and view mode settings.
9 */
10 interface EntityDisplayModeInterface extends ConfigEntityInterface {
11
12 /**
13 * Gets the entity type this display mode is used for.
14 *
15 * @return string
16 * The entity type name.
17 */
18 public function getTargetType();
19
20 /**
21 * Set the entity type this display mode is used for.
22 *
23 * @param string $target_entity_type
24 * The target entity type for this display mode.
25 *
26 * @return $this
27 */
28 public function setTargetType($target_entity_type);
29
30 }