You are here

public function MatcherInterface::execute in Linkit 8.5

Executes the matcher.

Parameters

string $string: The string that contains the text to search for.

Return value

\Drupal\linkit\Suggestion\SuggestionCollection A suggestion collection.

5 methods override MatcherInterface::execute()
ConfigurableDummyMatcher::execute in tests/linkit_test/src/Plugin/Linkit/Matcher/ConfigurableDummyMatcher.php
Executes the matcher.
DummyMatcher::execute in tests/linkit_test/src/Plugin/Linkit/Matcher/DummyMatcher.php
Executes the matcher.
EmailMatcher::execute in src/Plugin/Linkit/Matcher/EmailMatcher.php
Executes the matcher.
EntityMatcher::execute in src/Plugin/Linkit/Matcher/EntityMatcher.php
Executes the matcher.
FrontPageMatcher::execute in src/Plugin/Linkit/Matcher/FrontPageMatcher.php
Executes the matcher.

File

src/MatcherInterface.php, line 70

Class

MatcherInterface
Defines the interface for matchers.

Namespace

Drupal\linkit

Code

public function execute($string);