You are here

public function SettingsForm::__construct in Font Awesome Icons 8

Same name and namespace in other branches
  1. 8.2 src/Form/SettingsForm.php \Drupal\fontawesome\Form\SettingsForm::__construct()

Constructs a \Drupal\system\ConfigFormBase object.

Parameters

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

Overrides ConfigFormBase::__construct

File

src/Form/SettingsForm.php, line 26

Class

SettingsForm
Defines a form that configures fontawesome settings.

Namespace

Drupal\fontawesome\Form

Code

public function __construct(LibraryDiscovery $library_discovery) {
  $this->libraryDiscovery = $library_discovery;
}