public function CToolsPluginDiscovery::__construct in Service Container 7.2
Same name and namespace in other branches
- 7 src/Plugin/Discovery/CToolsPluginDiscovery.php \Drupal\service_container\Plugin\Discovery\CToolsPluginDiscovery::__construct()
Constructs a CToolsPluginDiscovery object.
Parameters
array $plugin_manager_definition: The domain specific plugin manager definition.
File
- src/
Plugin/ Discovery/ CToolsPluginDiscovery.php, line 41 - Contains \Drupal\service_container\Plugin\Discovery\CToolsPluginDiscovery
Class
- CToolsPluginDiscovery
- A discovery mechanism that uses ctools plugins for Drupal 7 compatibility.
Namespace
Drupal\service_container\Plugin\DiscoveryCode
public function __construct($plugin_manager_definition) {
$this->pluginOwner = $plugin_manager_definition['owner'];
$this->pluginType = $plugin_manager_definition['type'];
}