Created
July 19, 2015 14:49
-
-
Save mjordan/99fac083970ea43528c6 to your computer and use it in GitHub Desktop.
Islandora Dev 101 Exercise 1: Sample implementation
This file contains 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
/** | |
* Implements hook_islandora_object_modified(). | |
*/ | |
function islandora_dev101_islandora_object_modified(AbstractObject $islandora_object) { | |
drupal_set_message("Owner: " . $islandora_object->owner); | |
// Bonus answer. | |
// $message = variable_get('islandora_dev101_message', 'This just happened: '); | |
// drupal_set_message($message . ': ' . $islandora_object->owner); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment