public static function ForwardFormBuilder::create in Forward 4.x
Same name and namespace in other branches
- 4.0.x src/Services/ForwardFormBuilder.php \Drupal\forward\Services\ForwardFormBuilder::create()
File
- src/
Services/ ForwardFormBuilder.php, line 192
Class
- ForwardFormBuilder
- Defines a class for building markup for a Forward inline form on an entity.
Namespace
Drupal\forward\ServicesCode
public static function create(ContainerInterface $container) {
return new static($container
->get('form_builder'), $container
->get('current_route_match'), $container
->get('module_handler'), $container
->get('entity_type.manager'), $container
->get('request'), $container
->get('database'), $container
->get('token'), $container
->get('flood'), $container
->get('account.switcher'), $container
->get('renderer'), $container
->get('event_dispatcher'), $container
->get('plugin.manager.mail'), $container
->get('link_generator'), $container
->get('email_validator'));
}