Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. CommentManagerInterface.php

function CommentManagerInterface::addBodyField

Creates a comment_body field.

Parameters

string $comment_type: The comment bundle.

File

core/modules/comment/src/CommentManagerInterface.php, line 43

Class

CommentManagerInterface
Comment manager contains common functions to manage comment fields.

Namespace

Drupal\comment

Code

public function addBodyField($comment_type);

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal