Commit cb49c8ed authored by Tobias Stoeckler's avatar Tobias Stoeckler

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

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