public static function DeploymentForm::create in Build Hooks 3.x
Same name and namespace in other branches
- 8.2 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
- Defines a form for triggering deployments.
Namespace
Drupal\build_hooks\FormCode
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'));
}