Skip to content

Commit

Permalink
Added hook that was being called in xml_form_builder
Browse files Browse the repository at this point in the history
  • Loading branch information
whikloj committed Mar 27, 2015
1 parent 212f641 commit e06235f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions builder/xml_form_builder.api.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down

0 comments on commit e06235f

Please sign in to comment.