public function AssetInjectorFormBase::__construct in Asset Injector 8.2
AssetInjectorFormBase constructor.
Parameters
\Psr\Log\LoggerInterface $logger: A logger instance.
\Drupal\Core\Executable\ExecutableManagerInterface $manager: The ConditionManager for building the conditions UI.
\Drupal\Core\Plugin\Context\ContextRepositoryInterface $context_repository: The lazy context repository service.
\Drupal\Core\Language\LanguageManagerInterface $language: The language manager.
\Drupal\Core\Extension\ThemeHandlerInterface $theme_handler: The theme handler.
\Drupal\Core\Plugin\PluginFormFactoryInterface $plugin_form_manager: The plugin form manager.
File
- src/
Form/ AssetInjectorFormBase.php, line 109
Class
- AssetInjectorFormBase
- Class AssetInjectorCsssForm.
Namespace
Drupal\asset_injector\FormCode
public function __construct(LoggerInterface $logger, ExecutableManagerInterface $manager, ContextRepositoryInterface $context_repository, LanguageManagerInterface $language, ThemeHandlerInterface $theme_handler, PluginFormFactoryInterface $plugin_form_manager) {
$this->logger = $logger;
$this->manager = $manager;
$this->contextRepository = $context_repository;
$this->language = $language;
$this->themeHandler = $theme_handler;
$this->pluginFormFactory = $plugin_form_manager;
}