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

Breadcrumb

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

function Comment::setText

Sets the comment text

Parameters

string $text Comment text:

Return value

$this

File

vendor/mck89/peast/lib/Peast/Syntax/Node/Comment.php, line 109

Class

Comment
A node that represents a comment.

Namespace

Peast\Syntax\Node

Code

public function setText($text) {
    $this->text = $text;
    return $this;
}
RSS feed
Powered by Drupal