function TableDragExampleRootLeafForm::create

Same name in other branches
  1. 3.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'));
}