Created
November 23, 2012 21:10
-
-
Save leewillis77/4137339 to your computer and use it in GitHub Desktop.
Drupal Sirportly Integration patch
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
diff --git a/sirportly.module b/sirportly.module | |
index 6872dcf..2fbe075 100644 | |
--- a/sirportly.module | |
+++ b/sirportly.module | |
@@ -33,6 +33,21 @@ function sirportly_init() { | |
} | |
/** | |
+ * Implements hook_libraries_info(). | |
+ */ | |
+function sirportly_libraries_info() { | |
+ $libraries['sirportly'] = array( | |
+ 'name'=>'Sirportly API', | |
+ 'vendor_url' => 'https://github.com/sirportly/php-library', | |
+ 'download_url' => 'https://github.com/sirportly/php-library', | |
+ 'files' => array ( 'php' => array ('class.php') ), | |
+ 'version' => 'unversioned' | |
+ ); | |
+ | |
+ return $libraries; | |
+} | |
+ | |
+/** | |
* Parses markdown by using the GitHub API. | |
* | |
* @param string $text |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment