public function PhotosAdminLegacySettingsForm::__construct in Album Photos 6.0.x
Constructs PhotosAdminSettingsForm.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
Overrides ConfigFormBase::__construct
File
- src/
Form/ PhotosAdminLegacySettingsForm.php, line 41
Class
- PhotosAdminLegacySettingsForm
- Defines a form to configure maintenance settings for this site.
Namespace
Drupal\photos\FormCode
public function __construct(ConfigFactoryInterface $config_factory, ModuleHandlerInterface $module_handler) {
parent::__construct($config_factory);
$this->moduleHandler = $module_handler;
}