You are here

public function Simplelogin::__construct in SimpleLogin 8.6

Constructs a \Drupal\system\ConfigFormBase object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.

Overrides ConfigFormBase::__construct

File

src/Form/Simplelogin.php, line 35
Contains \Drupal\simplelogin\Form\SettingsForm. Simplelogin settings form.

Class

Simplelogin
Defines a form that configure settings.

Namespace

Drupal\simplelogin\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, ImageFactory $image_factory) {
  parent::__construct($config_factory);
  $this->imageFactory = $image_factory;
}