You are here

public static function FormatterPluginManager::create in RESTful 7.2

FormatterPluginManager factory method.

Parameters

string $bin: The cache bin for the plugin manager.

Return value

FormatterPluginManager The created manager.

2 calls to FormatterPluginManager::create()
FormatterManager::__construct in src/Formatter/FormatterManager.php
Constructs FormatterManager.
restful_admin_settings in ./restful.admin.inc
Menu callback; Admin settings form.

File

src/Plugin/FormatterPluginManager.php, line 39
Contains \Drupal\restful\Plugin\FormatterPluginManager.

Class

FormatterPluginManager

Namespace

Drupal\restful\Plugin

Code

public static function create($bin = 'cache') {
  return new static(Module::getNamespaces(), _cache_get_object($bin));
}