Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
libraries
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
libraries
Commits
cb49c8ed
Commit
cb49c8ed
authored
14 years ago
by
Tobias Stoeckler
Browse files
Options
Downloads
Patches
Plain Diff
#1064008
by tstoeckler, bfroehle: Fix outdated API examples in libraries.api.php.
parent
8f7669ef
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.txt
+1
-0
1 addition, 0 deletions
CHANGELOG.txt
libraries.api.php
+3
-3
3 additions, 3 deletions
libraries.api.php
with
4 additions
and
3 deletions
CHANGELOG.txt
+
1
−
0
View file @
cb49c8ed
...
@@ -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.
...
...
This diff is collapsed.
Click to expand it.
libraries.api.php
+
3
−
3
View file @
cb49c8ed
...
@@ -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.
'
titl
e'
=>
'Example library'
,
'
nam
e'
=>
'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
(
'
titl
e'
=>
'Simple library'
,
'
nam
e'
=>
'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
(
'
titl
e'
=>
'TinyMCE'
,
'
nam
e'
=>
'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'
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment