You are here

public function BibciteLinkPluginInterface::build in Bibliography & Citation 8

Same name and namespace in other branches
  1. 2.0.x modules/bibcite_entity/src/Plugin/BibciteLinkPluginInterface.php \Drupal\bibcite_entity\Plugin\BibciteLinkPluginInterface::build()

Build link using data from Reference entity.

Parameters

\Drupal\bibcite_entity\Entity\ReferenceInterface $reference: Reference entity object.

Return value

array Constructed URL render array or NULL if URL can not be constructed.

1 method overrides BibciteLinkPluginInterface::build()
BibciteLinkPluginBase::build in modules/bibcite_entity/src/Plugin/BibciteLinkPluginBase.php
Build link using data from Reference entity.

File

modules/bibcite_entity/src/Plugin/BibciteLinkPluginInterface.php, line 30

Class

BibciteLinkPluginInterface
Defines an interface for Link plugins.

Namespace

Drupal\bibcite_entity\Plugin

Code

public function build(ReferenceInterface $reference);