public function ContainerAwarePluginManager::__construct in Service Container 7
Same name and namespace in other branches
- 7.2 src/Plugin/ContainerAwarePluginManager.php \Drupal\service_container\Plugin\ContainerAwarePluginManager::__construct()
Constructs a ContainerAwarePluginManager object.
Parameters
string $service_prefix: The service prefix used to get the plugin instances from the container.
File
- src/
Plugin/ ContainerAwarePluginManager.php, line 25 - Contains \Drupal\service_container\Plugin\ContainerAwarePluginManager
Class
- ContainerAwarePluginManager
- Base class for plugin managers.
Namespace
Drupal\service_container\PluginCode
public function __construct($service_prefix) {
$this->servicePrefix = $service_prefix;
}