Skip to content

#259: Pass p1 to theme and changethe node creation date format to german_date

Majid Ali Khan requested to merge feature/259-preprocess-node into main

Whats in the MR:

Added a node preprocess hook in the module file to change the node creation date format to 'german_date' without time for teasers. Also pass the p1 which is main parent of the book in the variables so that it can used in templates.

How to test it:

In the template see if you are recieving date in correct format and p1 is also accessable.

Merge request reports