You are here

public function External::getIndicator in Freelinking 4.0.x

Same name and namespace in other branches
  1. 8.3 src/Plugin/freelinking/External.php \Drupal\freelinking\Plugin\freelinking\External::getIndicator()

A regular expression string to indicate what to replace for this plugin.

Return value

string A regular expression string.

Overrides FreelinkingPluginInterface::getIndicator

1 method overrides External::getIndicator()
DrupalOrg::getIndicator in src/Plugin/freelinking/DrupalOrg.php
A regular expression string to indicate what to replace for this plugin.

File

src/Plugin/freelinking/External.php, line 58

Class

External
Freelinking external link plugin.

Namespace

Drupal\freelinking\Plugin\freelinking

Code

public function getIndicator() {
  return '/^http(s)?|ext(ernal)?/';
}