You are here

public function SimpleSuggestion::setPath in Linkit 8.5

Sets the suggestion path.

Parameters

string $path: The suggestion path to set.

Return value

$this

Overrides SuggestionInterface::setPath

File

src/Suggestion/SimpleSuggestion.php, line 56

Class

SimpleSuggestion
Defines a simple suggestion.

Namespace

Drupal\linkit\Suggestion

Code

public function setPath($path) {
  $this->path = $path;
  return $this;
}