public function WebformLibrariesManager::__construct in Webform 8.5
Same name and namespace in other branches
- 6.x src/WebformLibrariesManager.php \Drupal\webform\WebformLibrariesManager::__construct()
Constructs a WebformLibrariesManager object.
Parameters
\Drupal\Core\Asset\LibraryDiscoveryInterface $library_discovery: The library discovery service.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The configuration object factory.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
\Drupal\Core\Render\RendererInterface $renderer: The renderer.
File
- src/
WebformLibrariesManager.php, line 74
Class
- WebformLibrariesManager
- Webform libraries manager.
Namespace
Drupal\webformCode
public function __construct(LibraryDiscoveryInterface $library_discovery, ConfigFactoryInterface $config_factory, ModuleHandlerInterface $module_handler, RendererInterface $renderer) {
$this->libraryDiscovery = $library_discovery;
$this->configFactory = $config_factory;
$this->moduleHandler = $module_handler;
$this->renderer = $renderer;
}