public function LibraryBuilder::__construct in The CodeMirror Editor 8
Constructs a CodeMirrorLibraryBuilder object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
\Drupal\codemirror_editor\CodemirrorModeManagerInterface $mode_manager: The language mode manager.
File
- src/
LibraryBuilder.php, line 44
Class
- LibraryBuilder
- CodeMirror library builder.
Namespace
Drupal\codemirror_editorCode
public function __construct(ConfigFactoryInterface $config_factory, ModuleHandlerInterface $module_handler, CodemirrorModeManagerInterface $mode_manager) {
$this->configFactory = $config_factory;
$this->moduleHandler = $module_handler;
$this->modeManager = $mode_manager;
}