You are here

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

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

Get current processor plugin.

Return value

\Drupal\bibcite\Plugin\BibCiteProcessorInterface|null Current processor plugin.

Overrides CitationStylerInterface::getProcessor

File

src/CitationStyler.php, line 114

Class

CitationStyler
Render CSL data to bibliographic citation.

Namespace

Drupal\bibcite

Code

public function getProcessor() {
  if (!$this->processor) {
    $this
      ->setProcessorById($this->configuration
      ->get('processor'));
  }
  return $this->processor;
}