You are here

interface SuggestionDescriptionInterface in Linkit 8.5

Defines the interface for suggestions that have a description.

Hierarchy

Expanded class hierarchy of SuggestionDescriptionInterface

All classes that implement SuggestionDescriptionInterface

File

src/Suggestion/SuggestionDescriptionInterface.php, line 8

Namespace

Drupal\linkit\Suggestion
View source
interface SuggestionDescriptionInterface {

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

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

}

Members

Namesort descending Modifiers Type Description Overrides
SuggestionDescriptionInterface::getDescription public function Gets the suggestion description. 1
SuggestionDescriptionInterface::setDescription public function Sets the suggestion description. 1