function TableDragExampleRootLeafForm::create

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

Overrides FormBase::create

File

modules/tabledrag_example/src/Form/TableDragExampleRootLeafForm.php, line 40

Class

TableDragExampleRootLeafForm
Table drag example root leaf form.

Namespace

Drupal\tabledrag_example\Form

Code

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