public static function ForwardFormBuilder::create in Forward 8
Same name and namespace in other branches
- 8.3 src/ForwardFormBuilder.php \Drupal\forward\ForwardFormBuilder::create()
- 8.2 src/ForwardFormBuilder.php \Drupal\forward\ForwardFormBuilder::create()
File
- src/
ForwardFormBuilder.php, line 156
Class
- ForwardFormBuilder
- Defines a class for building markup for a Forward inline form on an entity.
Namespace
Drupal\forwardCode
public static function create(ContainerInterface $container) {
return new static($container
->get('form_builder'), $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'));
}