function SystemStateEdit::create

Same name in other branches
  1. 8.x-1.x src/Form/SystemStateEdit.php \Drupal\devel\Form\SystemStateEdit::create()
  2. 5.x src/Form/SystemStateEdit.php \Drupal\devel\Form\SystemStateEdit::create()

Overrides FormBase::create

File

src/Form/SystemStateEdit.php, line 38

Class

SystemStateEdit
Form API form to edit a state.

Namespace

Drupal\devel\Form

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('state'));
}