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