You are here

SuggestionDescriptionInterface.php in Linkit 8.5

File

src/Suggestion/SuggestionDescriptionInterface.php
View source
<?php

namespace Drupal\linkit\Suggestion;


/**
 * Defines the interface for suggestions that have a description.
 */
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);

}

Interfaces

Namesort descending Description
SuggestionDescriptionInterface Defines the interface for suggestions that have a description.