function CommentTypeForm::create
Same name in other branches
- 9 core/modules/comment/src/CommentTypeForm.php \Drupal\comment\CommentTypeForm::create()
- 10 core/modules/comment/src/CommentTypeForm.php \Drupal\comment\CommentTypeForm::create()
- 11.x core/modules/comment/src/CommentTypeForm.php \Drupal\comment\CommentTypeForm::create()
Overrides FormBase::create
File
-
core/
modules/ comment/ src/ CommentTypeForm.php, line 53
Class
- CommentTypeForm
- Base form handler for comment type edit forms.
Namespace
Drupal\commentCode
public static function create(ContainerInterface $container) {
return new static($container->get('entity_type.manager'), $container->get('logger.factory')
->get('comment'), $container->get('comment.manager'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.