You are here

public function CommentPostDate::getRenderKey in Display Suite 8.4

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

Returns the entity render key for this field.

Overrides Date::getRenderKey

File

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

Class

CommentPostDate
Plugin that renders the post date of a comment.

Namespace

Drupal\ds\Plugin\DsField\Comment

Code

public function getRenderKey() {
  return 'created';
}