You are here

public static function DeploymentForm::create in Build Hooks 8.2

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

Create.

Parameters

\Symfony\Component\DependencyInjection\ContainerInterface $container: The container.

Return value

\Drupal\build_hooks\Form\DeploymentForm The deployment form.

Overrides FormBase::create

File

src/Form/DeploymentForm.php, line 85

Class

DeploymentForm
Class DeploymentForm.

Namespace

Drupal\build_hooks\Form

Code

public static function create(ContainerInterface $container) {
  return new static($container
    ->get('build_hooks.trigger'), $container
    ->get('build_hooks.deploylogger'), $container
    ->get('renderer'), $container
    ->get('date.formatter'), $container
    ->get('entity_type.manager'));
}