diff --git a/core/modules/node/templates/node.html.twig b/core/modules/node/templates/node.html.twig index 37f1bfc..1e45fa5 100644 --- a/core/modules/node/templates/node.html.twig +++ b/core/modules/node/templates/node.html.twig @@ -11,6 +11,9 @@ * - createdtime: Formatted creation date. Preprocess functions can * reformat it by calling format_date() with the desired parameters on * $variables['node']->getCreatedTime(). + * - changedtime: Formatted changed date. Preprocess functions can + * reformat it by calling format_date() with the desired parameters on + * $variables['node']->getChangedTime(). * - label: The title of the node. * - content: All node items. Use {{ content }} to print them all, * or print a subset such as {{ content.field_example }}. Use diff --git a/core/themes/bartik/templates/node.html.twig b/core/themes/bartik/templates/node.html.twig index c4eddea..698a83f 100644 --- a/core/themes/bartik/templates/node.html.twig +++ b/core/themes/bartik/templates/node.html.twig @@ -11,6 +11,9 @@ * - createdtime: Formatted creation date. Preprocess functions can * reformat it by calling format_date() with the desired parameters on * $variables['node']->getCreatedTime(). + * - changedtime: Formatted changed date. Preprocess functions can + * reformat it by calling format_date() with the desired parameters on + * $variables['node']->getChangedTime(). * - label: The title of the node. * - content: All node items. Use {{ content }} to print them all, * or print a subset such as {{ content.field_example }}. Use