Last active
January 3, 2016 01:29
-
-
Save mjordan/8388943 to your computer and use it in GitHub Desktop.
Example Drupal / Islandora theme callback
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 | |
/** | |
* Theme callback. | |
* @param array $variables | |
*/ | |
function theme_mymodule_my_hello($variables) { | |
$title = $variables['title']; | |
// Create markup | |
$output = '<p><strong>' . $title . '</strong></p>'; | |
return $output; | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment