You are here

FormatFactory.php in Bibliography & Citation 8

Same filename and directory in other branches
  1. 2.0.x src/Plugin/Factory/FormatFactory.php

File

src/Plugin/Factory/FormatFactory.php
View source
<?php

namespace Drupal\bibcite\Plugin\Factory;

use Drupal\Core\Plugin\Factory\ContainerFactory;

/**
 * Factory for bibcite format plugin.
 */
class FormatFactory extends ContainerFactory {

  /**
   * {@inheritdoc}
   */
  public static function getPluginClass($plugin_id, $plugin_definition = NULL, $required_interface = NULL) {

    // Only one class for all plugins.
    return '\\Drupal\\bibcite\\Plugin\\BibciteFormat';
  }

}

Classes

Namesort descending Description
FormatFactory Factory for bibcite format plugin.