You are here

public function ReplicateUISettingsForm::__construct in Replicate UI 8

Creates a new ReplicateUISettingsForm instance.

Parameters

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

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

\Drupal\Core\Routing\RouteBuilderInterface $router_builder: The router builder.

Overrides ConfigFormBase::__construct

File

src/Form/ReplicateUISettingsForm.php, line 39

Class

ReplicateUISettingsForm

Namespace

Drupal\replicate_ui\Form

Code

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