You are here

public function WorkspaceConfigForm::__construct in Workspace 8

Constructs a new WorkspaceConfigForm object.

Overrides ConfigFormBase::__construct

File

src/Form/WorkspaceConfigForm.php, line 30

Class

WorkspaceConfigForm
Class WorkspaceConfigForm.

Namespace

Drupal\workspace\Form

Code

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