view core/lib/Drupal/Core/Entity/EntityDescriptionInterface.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 af1871eacc83
line wrap: on
line source
<?php

namespace Drupal\Core\Entity;

/**
 * Defines the interface for entities that have a description.
 */
interface EntityDescriptionInterface {

  /**
   * Gets the entity description.
   *
   * @return string
   *   The entity description.
   */
  public function getDescription();

  /**
   * Sets the entity description.
   *
   * @param string $description
   *   The entity description.
   *
   * @return $this
   */
  public function setDescription($description);

}