public function ShortenAdminForm::__construct in Shorten URLs 8.2
ShortenAdminForm constructor.
Parameters
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.
Overrides ConfigFormBase::__construct
File
- src/
Form/ ShortenAdminForm.php, line 32
Class
- ShortenAdminForm
- Settings form.
Namespace
Drupal\shorten\FormCode
public function __construct(ModuleHandlerInterface $module_handler, ConfigFactoryInterface $config_factory) {
parent::__construct($config_factory);
$this->moduleHandler = $module_handler;
}