function ThemeInstallController::create
Same name in other branches
- 10 core/modules/system/tests/modules/nightwatch_theme_install_utility/src/Controller/ThemeInstallController.php \Drupal\nightwatch_theme_install_utility\Controller\ThemeInstallController::create()
Overrides AutowireTrait::create
File
-
core/
modules/ system/ tests/ modules/ nightwatch_theme_install_utility/ src/ Controller/ ThemeInstallController.php, line 40
Class
- ThemeInstallController
- Provides an easier way for Nightwatch tests to install themes.
Namespace
Drupal\nightwatch_theme_install_utility\ControllerCode
public static function create(ContainerInterface $container) {
return new static($container->get('config.factory'), $container->get('theme_installer'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.