Skip to content

Commit

Permalink
Clearing up hook naming changes. (#119)
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 38bc2a1.
  • Loading branch information
knjackson30974 authored and DiegoPino committed Feb 14, 2017
1 parent 3aacf07 commit ea45903
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions islandora_pdf.module
Expand Up @@ -104,9 +104,9 @@ function islandora_pdf_islandora_view_print_object($object) {
}

/**
* Implements hook_islandora_xml_form_builder_forms().
* Implements hook_xml_form_builder_forms().
*/
function islandora_pdf_islandora_xml_form_builder_forms() {
function islandora_pdf_xml_form_builder_forms() {
$module_path = drupal_get_path('module', 'islandora_pdf');
return array(
'PDF MODS form' => array(
Expand All @@ -116,9 +116,9 @@ function islandora_pdf_islandora_xml_form_builder_forms() {
}

/**
* Implements hook_islandora_xml_form_builder_form_associations().
* Implements hook_xml_form_builder_form_associations().
*/
function islandora_pdf_islandora_xml_form_builder_form_associations() {
function islandora_pdf_xml_form_builder_form_associations() {
return array(
'islandora_pdf_mods_form' => array(
'content_model' => 'islandora:sp_pdf',
Expand Down

0 comments on commit ea45903

Please sign in to comment.