You are here

public function CitationStyler::setProcessor in Bibliography & Citation 2.0.x

Same name and namespace in other branches
  1. 8 src/CitationStyler.php \Drupal\bibcite\CitationStyler::setProcessor()

Set processor plugin.

Parameters

\Drupal\bibcite\Plugin\BibCiteProcessorInterface $processor: Processor plugin object.

Return value

\Drupal\bibcite\CitationStylerInterface The called Styler object.

Overrides CitationStylerInterface::setProcessor

File

src/CitationStyler.php, line 98

Class

CitationStyler
Render CSL data to bibliographic citation.

Namespace

Drupal\bibcite

Code

public function setProcessor(BibCiteProcessorInterface $processor) {
  $this->processor = $processor;
  return $this;
}