view core/lib/Drupal/Core/Entity/EntityDescriptionInterface.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;

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

  /**
   * 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);

}