You are here

public static function TrainingForm::create in Opigno statistics 8

Same name and namespace in other branches
  1. 3.x src/Form/TrainingForm.php \Drupal\opigno_statistics\Form\TrainingForm::create()

Create.

Overrides FormBase::create

File

src/Form/TrainingForm.php, line 65

Class

TrainingForm
Implements the training statistics page.

Namespace

Drupal\opigno_statistics\Form

Code

public static function create(ContainerInterface $container) {
  return new static($container
    ->get('database'), $container
    ->get('datetime.time'), $container
    ->get('date.formatter'));
}