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

Breadcrumb

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

function Comment::setKind

Sets the comment kind

Parameters

string $kind Comment kind:

Return value

$this

File

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

Class

Comment
A node that represents a comment.

Namespace

Peast\Syntax\Node

Code

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