You are here

public function AdminSettingsForm::__construct in Tipsy 8

Constructs a \Drupal\system\ConfigFormBase object.

Parameters

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

Overrides ConfigFormBase::__construct

File

src/Form/AdminSettingsForm.php, line 22

Class

AdminSettingsForm
Class AdminSettingsForm.

Namespace

Drupal\tipsy\Form

Code

public function __construct(ConfigFactory $configFactory) {
  $this->configFactory = $configFactory
    ->getEditable('tipsy.settings');
}