You are here

public static function DashboardForm::create in Opigno statistics 8

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

Create.

Overrides FormBase::create

File

src/Form/DashboardForm.php, line 65

Class

DashboardForm
Implements the statistics dashboard.

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'));
}