You are here

public function ReferenceInterface::cite in Bibliography & Citation 2.0.x

Same name and namespace in other branches
  1. 8 modules/bibcite_entity/src/Entity/ReferenceInterface.php \Drupal\bibcite_entity\Entity\ReferenceInterface::cite()

Render reference entity as citation.

Parameters

string|null $style: Identifier of citation style. Default style will be used if this value is NULL.

Return value

mixed Rendered citation.

1 method overrides ReferenceInterface::cite()
Reference::cite in modules/bibcite_entity/src/Entity/Reference.php
Render reference entity as citation.

File

modules/bibcite_entity/src/Entity/ReferenceInterface.php, line 45

Class

ReferenceInterface
Provides an interface for defining Reference entities.

Namespace

Drupal\bibcite_entity\Entity

Code

public function cite($style = NULL);