You are here

public function CommentManagerInterface::addBodyField in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/comment/src/CommentManagerInterface.php \Drupal\comment\CommentManagerInterface::addBodyField()

Creates a comment_body field.

Parameters

string $comment_type: The comment bundle.

1 method overrides CommentManagerInterface::addBodyField()
CommentManager::addBodyField in core/modules/comment/src/CommentManager.php
Creates a comment_body field.

File

core/modules/comment/src/CommentManagerInterface.php, line 50
Contains \Drupal\comment\CommentManagerInterface.

Class

CommentManagerInterface
Comment manager contains common functions to manage comment fields.

Namespace

Drupal\comment

Code

public function addBodyField($comment_type);