public function Plugins::__construct in JSON-RPC 2.x
Same name and namespace in other branches
- 8 modules/jsonrpc_core/src/Plugin/jsonrpc/Method/Plugins.php \Drupal\jsonrpc_core\Plugin\jsonrpc\Method\Plugins::__construct()
Plugins constructor.
Overrides JsonRpcMethodBase::__construct
File
- modules/
jsonrpc_core/ src/ Plugin/ jsonrpc/ Method/ Plugins.php, line 42
Class
- Plugins
- Lists the plugin definitions of a given type.
Namespace
Drupal\jsonrpc_core\Plugin\jsonrpc\MethodCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, PluginManagerInterface $plugin_manager) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->pluginManager = $plugin_manager;
}