public function SystemStateEdit::__construct in Devel 8.2
Same name and namespace in other branches
- 8.3 src/Form/SystemStateEdit.php \Drupal\devel\Form\SystemStateEdit::__construct()
- 8 src/Form/SystemStateEdit.php \Drupal\devel\Form\SystemStateEdit::__construct()
- 4.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;
}