function TableDragExampleSimpleForm::create

Same name in other branches
  1. 4.0.x modules/tabledrag_example/src/Form/TableDragExampleSimpleForm.php \Drupal\tabledrag_example\Form\TableDragExampleSimpleForm::create()

Overrides FormBase::create

File

modules/tabledrag_example/src/Form/TableDragExampleSimpleForm.php, line 27

Class

TableDragExampleSimpleForm
Table drag example simple form.

Namespace

Drupal\tabledrag_example\Form

Code

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