You are here

public function FreelinkingPluginInterface::buildLink in Freelinking 8.3

Same name and namespace in other branches
  1. 4.0.x src/Plugin/FreelinkingPluginInterface.php \Drupal\freelinking\Plugin\FreelinkingPluginInterface::buildLink()

Build a link with the plugin.

Parameters

array $target: The target array with including the following keys:

  • text: The text to display in the URL.
  • indicator: The indicator string.
  • dest: The destination string for the plugin to turn into a URI.
  • tooltip: An optional tooltip.
  • language: A language object.

Return value

array Link array.

11 methods override FreelinkingPluginInterface::buildLink()
Builtin::buildLink in src/Plugin/freelinking/Builtin.php
Build a link with the plugin.
External::buildLink in src/Plugin/freelinking/External.php
Build a link with the plugin.
File::buildLink in src/Plugin/freelinking/File.php
Build a link with the plugin.
FreelinkingPrepopulate::buildLink in modules/freelinking_prepopulate/src/Plugin/freelinking/FreelinkingPrepopulate.php
Build a link with the plugin.
GoogleSearch::buildLink in src/Plugin/freelinking/GoogleSearch.php
Build a link with the plugin.

... See full list

File

src/Plugin/FreelinkingPluginInterface.php, line 60

Class

FreelinkingPluginInterface
Describes the Freelinking plugin.

Namespace

Drupal\freelinking\Plugin

Code

public function buildLink(array $target);