You are here

public function FreelinkingManagerInterface::buildLink in Freelinking 4.0.x

Same name and namespace in other branches
  1. 8.3 src/FreelinkingManagerInterface.php \Drupal\freelinking\FreelinkingManagerInterface::buildLink()

Build link structure for a plugin with target parameters.

Parameters

\Drupal\freelinking\Plugin\FreelinkingPluginInterface $plugin: The freelinking plugin.

array $target: The target array. @see ::parseTarget().

Return value

mixed Either an array or a string.

1 method overrides FreelinkingManagerInterface::buildLink()
FreelinkingManager::buildLink in src/FreelinkingManager.php
Build link structure for a plugin with target parameters.

File

src/FreelinkingManagerInterface.php, line 58

Class

FreelinkingManagerInterface
Freelinking plugin manager interface.

Namespace

Drupal\freelinking

Code

public function buildLink(FreelinkingPluginInterface $plugin, array $target);