You are here

protected function CommentTitle::entityRenderKey in Display Suite 8.4

Same name and namespace in other branches
  1. 8.2 src/Plugin/DsField/Comment/CommentTitle.php \Drupal\ds\Plugin\DsField\Comment\CommentTitle::entityRenderKey()
  2. 8.3 src/Plugin/DsField/Comment/CommentTitle.php \Drupal\ds\Plugin\DsField\Comment\CommentTitle::entityRenderKey()

Returns the entity render key for this field.

Overrides Field::entityRenderKey

File

src/Plugin/DsField/Comment/CommentTitle.php, line 22

Class

CommentTitle
Plugin that renders the title of a comment.

Namespace

Drupal\ds\Plugin\DsField\Comment

Code

protected function entityRenderKey() {
  return 'subject';
}