EntityDisplayModeInterface.php 493 Bytes
Newer Older
1 2 3 4
<?php

/**
 * @file
5
 * Contains \Drupal\Core\Entity\EntityDisplayModeInterface.
6 7
 */

8
namespace Drupal\Core\Entity;
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25

use Drupal\Core\Config\Entity\ConfigEntityInterface;

/**
 * Provides an interface for entity types that hold form and view mode settings.
 */
interface EntityDisplayModeInterface extends ConfigEntityInterface {

  /**
   * Returns the entity type this display mode is used for.
   *
   * @return string
   *   The entity type name.
   */
  public function getTargetType();

}