Skip to content

Commit

Permalink
Clearing up hook naming changes. (#103)
Browse files Browse the repository at this point in the history
* Clearing up hook naming changes.

* Adding in deprication cycle for xml form builder hooks.

* Revert "Adding in deprication cycle for xml form builder hooks."

This reverts commit 8f96dcf.
  • Loading branch information
knjackson30974 authored and DiegoPino committed Feb 14, 2017
1 parent 7221bdd commit cf6049f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions islandora_compound_object.module
Expand Up @@ -217,9 +217,9 @@ function islandora_compound_object_islandora_required_objects(IslandoraTuque $co
}

/**
* Implements hook_islandora_xml_form_builder_forms().
* Implements hook_xml_form_builder_forms().
*/
function islandora_compound_object_islandora_xml_form_builder_forms() {
function islandora_compound_object_xml_form_builder_forms() {
$module_path = drupal_get_path('module', 'islandora_compound_object');
return array(
'Compound Object MODS form' => array(
Expand All @@ -229,9 +229,9 @@ function islandora_compound_object_islandora_xml_form_builder_forms() {
}

/**
* Implements hook_islandora_xml_form_builder_form_associations().
* Implements hook_xml_form_builder_form_associations().
*/
function islandora_compound_object_islandora_xml_form_builder_form_associations() {
function islandora_compound_object_xml_form_builder_form_associations() {
return array(
'islandora_compound_mods_form' => array(
'content_model' => ISLANDORA_COMPOUND_OBJECT_CMODEL,
Expand Down

0 comments on commit cf6049f

Please sign in to comment.