CommentChangedDate.php in Display Suite 8.3
Same filename and directory in other branches
Namespace
Drupal\ds\Plugin\DsField\CommentFile
src/Plugin/DsField/Comment/CommentChangedDate.phpView source
<?php
namespace Drupal\ds\Plugin\DsField\Comment;
use Drupal\ds\Plugin\DsField\Date;
/**
* Plugin that renders the changed date of a comment.
*
* @DsField(
* id = "comment_changed_date",
* title = @Translation("Last modified"),
* entity_type = "comment",
* provider = "comment"
* )
*/
class CommentChangedDate extends Date {
/**
* {@inheritdoc}
*/
public function getRenderKey() {
return 'changed';
}
}
Classes
Name | Description |
---|---|
CommentChangedDate | Plugin that renders the changed date of a comment. |