function SystemStateEdit::__construct

Constructs a new SystemStateEdit object.

Parameters

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

File

src/Form/SystemStateEdit.php, line 31

Class

SystemStateEdit
Form API form to edit a state.

Namespace

Drupal\devel\Form

Code

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