You are here

public function UrlShortener::shortenerUrlParsePartialLinks in Shorten URLs 8.2

Processes matches on partial URLs and returns the "fixed" version.

File

modules/shortener/src/Plugin/Filter/UrlShortener.php, line 139

Class

UrlShortener
Provides a filter to limit allowed HTML tags.

Namespace

Drupal\shortener\Plugin\Filter

Code

public function shortenerUrlParsePartialLinks($match) {
  return $this
    ->shortenerUrlBehavior($match, TRUE);
}