You are here

public function QuicklinkConfigForm::__construct in Quicklink 8

Same name and namespace in other branches
  1. 2.0.x src/Form/QuicklinkConfigForm.php \Drupal\quicklink\Form\QuicklinkConfigForm::__construct()

Constructs a QuicklinkConfigForm object.

Parameters

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

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

Overrides ConfigFormBase::__construct

File

src/Form/QuicklinkConfigForm.php, line 31

Class

QuicklinkConfigForm
Class QuicklinkConfig.

Namespace

Drupal\quicklink\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, EntityTypeManagerInterface $entity_type_manager) {
  parent::__construct($config_factory);
  $this->entityTypeManager = $entity_type_manager;
}