interface SuggestionDescriptionInterface in Linkit 8.5
Defines the interface for suggestions that have a description.
Hierarchy
- interface \Drupal\linkit\Suggestion\SuggestionDescriptionInterface
Expanded class hierarchy of SuggestionDescriptionInterface
All classes that implement SuggestionDescriptionInterface
File
- src/
Suggestion/ SuggestionDescriptionInterface.php, line 8
Namespace
Drupal\linkit\SuggestionView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
SuggestionDescriptionInterface:: |
public | function | Gets the suggestion description. | 1 |
SuggestionDescriptionInterface:: |
public | function | Sets the suggestion description. | 1 |