public function SuggestionCollection::getSuggestions in Linkit 8.5
Returns all suggestions in the collection.
Return value
\Drupal\linkit\Suggestion\SuggestionInterface[] All suggestions in the collection.
File
- src/
Suggestion/ SuggestionCollection.php, line 23
Class
- SuggestionCollection
- Defines a suggestion collection used to avoid JSON Hijacking.
Namespace
Drupal\linkit\SuggestionCode
public function getSuggestions() {
return $this->suggestions;
}