You are here

public function ConfigSplitEntityForm::__construct in Configuration Split 2.0.x

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

Constructs a new class instance.

Parameters

\Drupal\config_split\Config\StatusOverride $statusOverride: The split status override service.

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

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

File

src/Form/ConfigSplitEntityForm.php, line 49

Class

ConfigSplitEntityForm
The entity form.

Namespace

Drupal\config_split\Form

Code

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