function CommentTypeForm::create

Overrides FormBase::create

File

core/modules/comment/src/CommentTypeForm.php, line 45

Class

CommentTypeForm
Base form handler for comment type edit forms.

Namespace

Drupal\comment

Code

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.