You are here

protected function CommentAuthor::entityRenderKey in Display Suite 8.3

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

Returns the entity render key for this field.

Overrides Field::entityRenderKey

File

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

Class

CommentAuthor
Plugin that renders the author of a comment.

Namespace

Drupal\ds\Plugin\DsField\Comment

Code

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