From 37e0bf87ed682b4de3b8570416d98c226c912a87 Mon Sep 17 00:00:00 2001 From: Nathaniel Catchpole Date: Tue, 2 Jul 2013 11:24:37 +0100 Subject: [PATCH] Issue #1843650 by jenlampton: Mark hook_process*() deprecated. --- core/modules/system/theme.api.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/core/modules/system/theme.api.php b/core/modules/system/theme.api.php index 85f21d1a367..aedc6b0aed5 100644 --- a/core/modules/system/theme.api.php +++ b/core/modules/system/theme.api.php @@ -172,6 +172,10 @@ function hook_preprocess_HOOK(&$variables) { * The variables array (modify in place). * @param $hook * The name of the theme hook. + * + * @deprecated as of Drupal 8.0, the process layer will be removed. Use + * preprocess instead and pass render arrays or objects with __toString() + * methods to templates and theme functions. */ function hook_process(&$variables, $hook) { // Wraps variables in RDF wrappers. @@ -198,6 +202,10 @@ function hook_process(&$variables, $hook) { * * @param $variables * The variables array (modify in place). + * + * @deprecated as of Drupal 8.0, the process layer will be removed. Use + * preprocess instead and pass render arrays or objects with __toString() + * methods to templates and theme functions. */ function hook_process_HOOK(&$variables) { // @todo There are no use-cases in Drupal core for this hook. Find one from a