From e06235fa4feb7a7be9ad019d4c951991624e1b61 Mon Sep 17 00:00:00 2001 From: Jared Whiklo Date: Thu, 26 Mar 2015 21:20:47 -0500 Subject: [PATCH] Added hook that was being called in xml_form_builder --- builder/xml_form_builder.api.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/builder/xml_form_builder.api.php b/builder/xml_form_builder.api.php index 2f04d467..1a5e70d4 100644 --- a/builder/xml_form_builder.api.php +++ b/builder/xml_form_builder.api.php @@ -35,6 +35,19 @@ function hook_xml_form_builder_get_transforms() { ); } +/** + * This hook allows modules to register XSLT self-transformations. + * + * @return array + * An associative array mapping a shortened name to the full path of the + * transformation. + */ +function hook_xml_form_builder_get_self_transforms() { + return array( + 'cleanup.xslt' => 'sites/all/modules/my_cool_module/transforms/cleanup.xslt', + ); +} + /** * This hook allows modules to register default form associations. *