You are here

public function KeywordSettingsForm::__construct in Alinks 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/KeywordSettingsForm.php, line 30

Class

KeywordSettingsForm
Class KeywordSettingsForm.

Namespace

Drupal\alinks\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, EntityTypeManager $entityTypeManager, EntityDisplayRepositoryInterface $entityDisplayRepository) {
  parent::__construct($config_factory);
  $this->entityTypeManager = $entityTypeManager;
  $this->entityDisplayRepository = $entityDisplayRepository;
}