You are here

protected function BibciteFormatManager::getFactory in Bibliography & Citation 8

Same name and namespace in other branches
  1. 2.0.x src/Plugin/BibciteFormatManager.php \Drupal\bibcite\Plugin\BibciteFormatManager::getFactory()

Gets the plugin factory.

Return value

\Drupal\Component\Plugin\Factory\FactoryInterface

Overrides DefaultPluginManager::getFactory

File

src/Plugin/BibciteFormatManager.php, line 48

Class

BibciteFormatManager
Provides the default bibcite_format manager.

Namespace

Drupal\bibcite\Plugin

Code

protected function getFactory() {
  if (!$this->factory) {
    $this->factory = new FormatFactory($this, $this->pluginInterface);
  }
  return $this->factory;
}