You are here

public function ConfigSplitEntityForm::__construct in Configuration Split 8

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

Constructs a new class instance.

Parameters

\Drupal\Core\State\StateInterface $state: The drupal state.

\Drupal\Core\Extension\ThemeHandlerInterface $themeHandler: The theme handler.

File

src/Form/ConfigSplitEntityForm.php, line 39

Class

ConfigSplitEntityForm
The entity form.

Namespace

Drupal\config_split\Form

Code

public function __construct(StateInterface $state, ThemeHandlerInterface $themeHandler) {
  $this->state = $state;
  $this->themeHandler = $themeHandler;
}