FormatFactory.php in Bibliography & Citation 2.0.x
Same filename and directory in other branches
Namespace
Drupal\bibcite\Plugin\FactoryFile
src/Plugin/Factory/FormatFactory.phpView 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
Name | Description |
---|---|
FormatFactory | Factory for bibcite format plugin. |