function SystemStateEdit::__construct
Same name in other branches
- 8.x-1.x src/Form/SystemStateEdit.php \Drupal\devel\Form\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\FormCode
public function __construct(StateInterface $state) {
$this->state = $state;
}