From f93a6efd23556ebb133ff8933d448b401f855e3e Mon Sep 17 00:00:00 2001 From: fritzmg Date: Tue, 24 Sep 2024 13:38:10 +0100 Subject: [PATCH] add deprecation for printArticleAsPdf --- docs/dev/reference/hooks/printArticleAsPdf.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/dev/reference/hooks/printArticleAsPdf.md b/docs/dev/reference/hooks/printArticleAsPdf.md index 3fab88851..6de6b072f 100644 --- a/docs/dev/reference/hooks/printArticleAsPdf.md +++ b/docs/dev/reference/hooks/printArticleAsPdf.md @@ -12,6 +12,10 @@ The `printArticleAsPdf` hook is triggered when an article should be exported as PDF. It passes the article text and the article object as arguments and does not expect a return value. Use it to override the internal PDF functionality. +{{% notice info %}} +Using the `printArticleAsPdf` hook has been deprecated and will no longer work in Contao 5.0. +{{% /notice %}} + ## Parameters