CommentTypeInterface.php in Zircon Profile 8
Same filename and directory in other branches
Contains \Drupal\comment\CommentTypeInterface.
Namespace
Drupal\commentFile
core/modules/comment/src/CommentTypeInterface.phpView source
<?php
/**
* @file
* Contains \Drupal\comment\CommentTypeInterface.
*/
namespace Drupal\comment;
use Drupal\Core\Config\Entity\ConfigEntityInterface;
/**
* Provides an interface defining a comment type entity.
*/
interface CommentTypeInterface extends ConfigEntityInterface {
/**
* Returns the comment type description.
*
* @return string
* The comment-type description.
*/
public function getDescription();
/**
* Sets the description of the comment type.
*
* @param string $description
* The new description.
*
* @return $this
*/
public function setDescription($description);
/**
* Gets the target entity type id for this comment type.
*
* @return string
* The target entity type id.
*/
public function getTargetEntityTypeId();
}
Interfaces
Name | Description |
---|---|
CommentTypeInterface | Provides an interface defining a comment type entity. |