You are here

public function NodePostDate::getRenderKey in Display Suite 8.4

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

Returns the entity render key for this field.

Overrides Date::getRenderKey

File

src/Plugin/DsField/Node/NodePostDate.php, line 22

Class

NodePostDate
Plugin that renders the post date of a node.

Namespace

Drupal\ds\Plugin\DsField\Node

Code

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