public function Plugins::__construct in JSON-RPC 8
Same name and namespace in other branches
- 2.x 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;
}