Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal-3443915
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
Issue forks
drupal-3443915
Commits
8cf0d590
Commit
8cf0d590
authored
14 years ago
by
Dries Buytaert
Browse files
Options
Downloads
Patches
Plain Diff
- Patch
#855378
by aspilicious: fix newlines in menu.inc.
parent
1a0778d1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
includes/menu.inc
+4
-0
4 additions, 0 deletions
includes/menu.inc
with
4 additions
and
0 deletions
includes/menu.inc
+
4
−
0
View file @
8cf0d590
...
...
@@ -572,6 +572,7 @@ function _menu_load_objects(&$item, &$map) {
* A menu router or menu link item
* @param $map
* An array of path arguments (ex: array('node', '5'))
*
* @return
* $item['access'] becomes TRUE if the item is accessible, FALSE otherwise.
*/
...
...
@@ -2530,6 +2531,7 @@ function _menu_navigation_links_rebuild($menu) {
* (optional) The name of a menu that the links will be cloned for. If not
* set, the cloned links will be in the same menu as the original set of
* links that were passed in.
*
* @return
* An array of menu links with the same properties as the passed-in array,
* but with the link identifiers removed so that a new link will be created
...
...
@@ -2553,6 +2555,7 @@ function menu_links_clone($links, $menu_name = NULL) {
*
* @param $menu_name
* The name of the menu whose links should be returned.
*
* @return
* An array of menu links.
*/
...
...
@@ -2926,6 +2929,7 @@ function _menu_find_router_path($link_path) {
* @param $link_title
* Title of the link to insert or new title to update the link to.
* Unused for delete.
*
* @return
* The insert op returns the mlid of the new item. Others op return NULL.
*/
...
...
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