diff --git a/core/modules/node/templates/node.html.twig b/core/modules/node/templates/node.html.twig index c08ab7c..4a55f72 100644 --- a/core/modules/node/templates/node.html.twig +++ b/core/modules/node/templates/node.html.twig @@ -8,9 +8,12 @@ * - id: The node ID. * - bundle: The type of the node, for example, "page" or "article". * - authorid: The user ID of the node author. - * - createdtime: Formatted creation date. Preprocess functions can - * reformat it by calling format_date() with the desired parameters on + * - 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/scripts/run-tests.sh b/core/scripts/run-tests.sh old mode 100644 new mode 100755 diff --git a/core/themes/bartik/templates/node.html.twig b/core/themes/bartik/templates/node.html.twig index 3150206..e36b3ce 100644 --- a/core/themes/bartik/templates/node.html.twig +++ b/core/themes/bartik/templates/node.html.twig @@ -8,9 +8,12 @@ * - id: The node ID. * - bundle: The type of the node, for example, "page" or "article". * - authorid: The user ID of the node author. - * - createdtime: Formatted creation date. Preprocess functions can - * reformat it by calling format_date() with the desired parameters on + * - 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