Created
January 12, 2014 23:01
-
-
Save mjordan/8391902 to your computer and use it in GitHub Desktop.
hook_islandora_xml_form_builder_forms()
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* This hook allows modules to add default forms to form builder. | |
* | |
* @return array | |
* An associative array mapping unique names to associative arrays containing a | |
* single key: | |
* - form_file: A string containing the path to the form definition, relative | |
* to the webserver's document root (such that I might be opened | |
*/ | |
function hook_islandora_xml_form_builder_forms() { | |
return array( | |
'Unique Form Name' => array( | |
'form_file' => 'full/path/to/form/definition/file.xml', | |
), | |
); | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment