You are here

public function SettingsForm::__construct in Commerce Wishlist 8.3

Constructs a new SettingsForm object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.

\Drupal\Core\Entity\EntityDisplayRepositoryInterface $entity_display_repository: The entity display repository.

Overrides ConfigFormBase::__construct

File

src/Form/SettingsForm.php, line 33

Class

SettingsForm
Defines the wishlist settings form.

Namespace

Drupal\commerce_wishlist\Form

Code

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