You are here

public function OrderSettingsForm::__construct in Commerce Core 8.2

Constructs a new OrderSettingsForm 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

modules/order/src/Form/OrderSettingsForm.php, line 28

Class

OrderSettingsForm

Namespace

Drupal\commerce_order\Form

Code

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