Skip to content
Snippets Groups Projects
Commit cb49c8ed authored by Tobias Stoeckler's avatar Tobias Stoeckler
Browse files

#1064008 by tstoeckler, bfroehle: Fix outdated API examples in libraries.api.php.

parent 8f7669ef
No related branches found
No related tags found
No related merge requests found
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
Libraries 7.x-2.x, xxxx-xx-xx Libraries 7.x-2.x, xxxx-xx-xx
----------------------------- -----------------------------
#1064008 by tstoeckler, bfroehle: Fix outdated API examples in libraries.api.php.
#1028744 by tstoeckler: Code clean-up. #1028744 by tstoeckler: Code clean-up.
#1023322 by tstoeckler, sun: Fixed libraries shouldn't be loaded multiple times. #1023322 by tstoeckler, sun: Fixed libraries shouldn't be loaded multiple times.
#1024080 by hswong3i, tstoeckler: Fixed installation profile retrieval. #1024080 by hswong3i, tstoeckler: Fixed installation profile retrieval.
......
...@@ -115,7 +115,7 @@ function hook_libraries_info() { ...@@ -115,7 +115,7 @@ function hook_libraries_info() {
// directory, which should contain the entire, original extracted library. // directory, which should contain the entire, original extracted library.
$libraries['example'] = array( $libraries['example'] = array(
// Only used in administrative UI of Libraries API. // Only used in administrative UI of Libraries API.
'title' => 'Example library', 'name' => 'Example library',
'vendor url' => 'http://example.com', 'vendor url' => 'http://example.com',
'download url' => 'http://example.com/download', 'download url' => 'http://example.com/download',
// Optional: If, after extraction, the actual library files are contained in // Optional: If, after extraction, the actual library files are contained in
...@@ -219,7 +219,7 @@ function hook_libraries_info() { ...@@ -219,7 +219,7 @@ function hook_libraries_info() {
// A very simple library. No changing APIs (hence, no versions), no variants. // A very simple library. No changing APIs (hence, no versions), no variants.
// Expected to be extracted into 'sites/all/libraries/simple'. // Expected to be extracted into 'sites/all/libraries/simple'.
$libraries['simple'] = array( $libraries['simple'] = array(
'title' => 'Simple library', 'name' => 'Simple library',
'vendor url' => 'http://example.com/simple', 'vendor url' => 'http://example.com/simple',
'download url' => 'http://example.com/simple', 'download url' => 'http://example.com/simple',
'version arguments' => array( 'version arguments' => array(
...@@ -236,7 +236,7 @@ function hook_libraries_info() { ...@@ -236,7 +236,7 @@ function hook_libraries_info() {
// A library that (naturally) evolves over time with API changes. // A library that (naturally) evolves over time with API changes.
$libraries['tinymce'] = array( $libraries['tinymce'] = array(
'title' => 'TinyMCE', 'name' => 'TinyMCE',
'vendor url' => 'http://tinymce.moxiecode.com', 'vendor url' => 'http://tinymce.moxiecode.com',
'download url' => 'http://tinymce.moxiecode.com/download.php', 'download url' => 'http://tinymce.moxiecode.com/download.php',
'path' => 'jscripts/tiny_mce', 'path' => 'jscripts/tiny_mce',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment